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.001176/0.001176, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001603/0.001603, allocations: 177.3 kB / 15.94 MB, free: 228 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.44/1.44, allocations: 223.2 MB / 239.9 MB, free: 5.461 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.361/2.361, allocations: 390.3 MB / 0.6653 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003841, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7465/0.7469, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.00078/0.7477, allocations: 388.7 kB / 0.954 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000877/0.7486, allocations: 0.8065 MB / 0.9548 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.7487, allocations: 3.938 kB / 0.9548 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.7487, allocations: 0 / 0.9548 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.401e-05/0.7488, allocations: 0.9062 kB / 0.9548 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.7489, allocations: 9.938 kB / 0.9548 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.918e-05/0.749, allocations: 17.16 kB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.7491, allocations: 2.5 kB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.24e-05/0.7492, allocations: 10.56 kB / 0.9548 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.492e-05/0.7492, allocations: 6.453 kB / 0.9548 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.7492, allocations: 1.062 kB / 0.9548 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.7492, allocations: 5.219 kB / 0.9548 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.7493, allocations: 1.406 kB / 0.9548 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.7493, allocations: 33.64 kB / 0.9549 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.412e-05/0.7493, allocations: 20.31 kB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.7494, allocations: 0 / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7494, allocations: 0 / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.7494, allocations: 0 / 0.9549 GB, free: 7.02 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.000372/0.7497, allocations: 337.4 kB / 0.9552 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.7498, allocations: 9.656 kB / 0.9552 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.7498, allocations: 35.7 kB / 0.9552 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.206e-05/0.7499, allocations: 5.141 kB / 0.9552 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.041e-05/0.75, allocations: 160.4 kB / 0.9554 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.75, allocations: 1.344 kB / 0.9554 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.75, allocations: 1.312 kB / 0.9554 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.7502, allocations: 57.7 kB / 0.9555 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.7502, allocations: 0 / 0.9555 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.7502, allocations: 3.938 kB / 0.9555 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.7502, allocations: 1 kB / 0.9555 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.7504, allocations: 51.19 kB / 0.9555 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.7507, allocations: 245.8 kB / 0.9557 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.7508, allocations: 39.81 kB / 0.9558 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.7508, allocations: 0 / 0.9558 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.288e-05/0.7509, allocations: 35.45 kB / 0.9558 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.7509, allocations: 5.062 kB / 0.9558 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003505/0.7512, allocations: 102.8 kB / 0.9559 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.7513, allocations: 55.53 kB / 0.956 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.911e-05/0.7513, allocations: 102.5 kB / 0.9561 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.7513, allocations: 27.14 kB / 0.9561 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.561e-05/0.7514, allocations: 80.14 kB / 0.9562 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.7514, allocations: 8.812 kB / 0.9562 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.7514, allocations: 1.281 kB / 0.9562 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.518e-05/0.7514, allocations: 318.8 kB / 0.9565 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/0.7515, allocations: 21.89 kB / 0.9565 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.077e-05/0.7516, allocations: 22.8 kB / 0.9565 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.794e-05/0.7517, allocations: 17.67 kB / 0.9565 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7517, allocations: 1.719 kB / 0.9565 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001801/0.7519, allocations: 85.28 kB / 0.9566 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.7519, allocations: 4.969 kB / 0.9566 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.7519, allocations: 0 / 0.9566 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.7519, allocations: 1.406 kB / 0.9566 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.261e-05/0.752, allocations: 28.16 kB / 0.9567 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.752, allocations: 0 / 0.9567 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.7521, allocations: 9.922 kB / 0.9567 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.7521, allocations: 1.188 kB / 0.9567 GB, free: 5.207 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 5.091e-05/0.7522, allocations: 107.1 kB / 0.9568 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.7522, allocations: 1.438 kB / 0.9568 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.7524, allocations: 88.97 kB / 0.9569 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.7524, allocations: 0 / 0.9569 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.7524, allocations: 3.953 kB / 0.9569 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.7524, allocations: 1.438 kB / 0.9569 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.7525, allocations: 157.9 kB / 0.957 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7526, allocations: 0 / 0.957 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.7526, allocations: 16.41 kB / 0.957 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7526, allocations: 0 / 0.957 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.7526, allocations: 1.406 kB / 0.957 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.7526, allocations: 3.984 kB / 0.957 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.7527, allocations: 0 / 0.957 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.7529, allocations: 181.1 kB / 0.9572 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.7529, allocations: 82.19 kB / 0.9573 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.7529, allocations: 0 / 0.9573 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.753, allocations: 6.719 kB / 0.9573 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.753, allocations: 9.078 kB / 0.9573 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.753, allocations: 5.031 kB / 0.9573 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.911e-05/0.7531, allocations: 78.53 kB / 0.9574 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7531, allocations: 0 / 0.9574 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002079/0.7533, allocations: 11.58 kB / 0.9574 GB, free: 4.465 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.0003885/0.7537, allocations: 0.6966 MB / 0.9581 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.7539, allocations: 58.45 kB / 0.9581 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.7539, allocations: 1.094 kB / 0.9581 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.366e-05/0.754, allocations: 20.2 kB / 0.9581 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.7542, allocations: 3.266 kB / 0.9581 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.7545, allocations: 134.4 kB / 0.9583 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.7547, allocations: 0.6777 MB / 0.9589 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.966e-05/0.7547, allocations: 1.094 kB / 0.9589 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.7547, allocations: 20.39 kB / 0.959 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7547, allocations: 0 / 0.959 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01021/0.765, allocations: 0.9878 MB / 0.9599 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001256/0.7651, allocations: 183.7 kB / 0.9601 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.417, allocations: 0 / 0.9601 GB, free: 2.191 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