Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007752/0.0007753, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008298/0.00083, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.4 MB / 0.6655 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 16.2 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7406/0.7409, allocations: 142.3 MB / 0.9539 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.0009149/0.7419, allocations: 386.6 kB / 0.9542 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.7429, allocations: 0.8028 MB / 0.955 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.743, allocations: 0 / 0.955 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.743, allocations: 0.5312 kB / 0.955 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.624e-05/0.7431, allocations: 9.047 kB / 0.955 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.7432, allocations: 1.062 kB / 0.955 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.79e-05/0.7433, allocations: 24.33 kB / 0.9551 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.7434, allocations: 6.094 kB / 0.9551 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.381e-05/0.7435, allocations: 7.484 kB / 0.9551 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.815e-05/0.7436, allocations: 14.25 kB / 0.9551 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.7436, allocations: 5.156 kB / 0.9551 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.7436, allocations: 1.219 kB / 0.9551 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.7436, allocations: 5.078 kB / 0.9551 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.7436, allocations: 27.08 kB / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.529e-05/0.7437, allocations: 14.34 kB / 0.9551 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.7437, allocations: 1.156 kB / 0.9551 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7437, allocations: 0 / 0.9551 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.7437, allocations: 4 kB / 0.9551 GB, free: 7.082 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003918/0.7441, allocations: 338.4 kB / 0.9555 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.7442, allocations: 8.688 kB / 0.9555 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.94e-05/0.7442, allocations: 39.44 kB / 0.9555 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.7442, allocations: 4.984 kB / 0.9555 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.414e-05/0.7443, allocations: 165.2 kB / 0.9557 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.7444, allocations: 0 / 0.9557 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.7444, allocations: 5.094 kB / 0.9557 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.7446, allocations: 53.8 kB / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.7446, allocations: 1.031 kB / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.7446, allocations: 0 / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.7446, allocations: 5.141 kB / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.7448, allocations: 51.47 kB / 0.9558 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.7451, allocations: 245.4 kB / 0.956 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.7453, allocations: 47.73 kB / 0.9561 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.185e-05/0.7454, allocations: 27.44 kB / 0.9561 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.7454, allocations: 0 / 0.9561 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.7454, allocations: 32.03 kB / 0.9561 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.7454, allocations: 0 / 0.9561 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003653/0.7458, allocations: 111.3 kB / 0.9562 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.7458, allocations: 51.41 kB / 0.9563 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.694e-05/0.7459, allocations: 98.84 kB / 0.9564 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.7459, allocations: 30.8 kB / 0.9564 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.746, allocations: 85.17 kB / 0.9565 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.746, allocations: 8.844 kB / 0.9565 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.746, allocations: 0 / 0.9565 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.167e-05/0.7461, allocations: 311.9 kB / 0.9568 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.133e-05/0.7462, allocations: 22.27 kB / 0.9568 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.269e-05/0.7463, allocations: 29.81 kB / 0.9568 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.932e-05/0.7463, allocations: 22.27 kB / 0.9569 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7463, allocations: 0 / 0.9569 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001873/0.7465, allocations: 81.94 kB / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7466, allocations: 5.438 kB / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.7466, allocations: 0 / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.7466, allocations: 5.047 kB / 0.9569 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.983e-05/0.7467, allocations: 12.28 kB / 0.957 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.7467, allocations: 0 / 0.957 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.7468, allocations: 14.61 kB / 0.957 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.7468, allocations: 0.9688 kB / 0.957 GB, free: 5.246 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.126e-05/0.7468, allocations: 110.9 kB / 0.9571 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.7469, allocations: 1.125 kB / 0.9571 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.7471, allocations: 84.05 kB / 0.9572 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.7471, allocations: 1.188 kB / 0.9572 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.7471, allocations: 3.953 kB / 0.9572 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.7471, allocations: 1.156 kB / 0.9572 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.7473, allocations: 158 kB / 0.9573 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7473, allocations: 0 / 0.9573 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.7474, allocations: 12.14 kB / 0.9573 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.7474, allocations: 0.9688 kB / 0.9573 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.7474, allocations: 8.031 kB / 0.9573 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.7474, allocations: 1.094 kB / 0.9573 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.7474, allocations: 0 / 0.9573 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.7476, allocations: 180.8 kB / 0.9575 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.7476, allocations: 78.45 kB / 0.9576 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.7477, allocations: 0 / 0.9576 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.7477, allocations: 9.953 kB / 0.9576 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.7478, allocations: 2.25 kB / 0.9576 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.7478, allocations: 4 kB / 0.9576 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.898e-05/0.7478, allocations: 86.41 kB / 0.9577 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7478, allocations: 0 / 0.9577 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002135/0.7481, allocations: 7.719 kB / 0.9577 GB, free: 4.508 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004847/0.7486, allocations: 0.7051 MB / 0.9584 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.7488, allocations: 42.78 kB / 0.9584 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.7488, allocations: 0 / 0.9584 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.455e-05/0.7489, allocations: 39.94 kB / 0.9585 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.7492, allocations: 3.438 kB / 0.9585 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.7496, allocations: 130.2 kB / 0.9586 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.7497, allocations: 0.6779 MB / 0.9592 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.51e-05/0.7497, allocations: 9.375 kB / 0.9593 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.7498, allocations: 7.438 kB / 0.9593 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7498, allocations: 0 / 0.9593 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.7638, allocations: 1.013 MB / 0.9603 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.7641, allocations: 198 kB / 0.9604 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.449, allocations: 0 / 0.9604 GB, free: 2.207 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat does not exist to compare? outputFormat=mat