Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.316/2.316, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 187.9 kB / 0.4901 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.1 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 94.67 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004328/0.0004329, allocations: 9.938 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3149, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.5056, allocations: 149.6 MB / 1.375 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.5058, allocations: 63.97 kB / 1.375 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001813/0.5077, allocations: 0.6735 MB / 1.376 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5077, allocations: 0 / 1.376 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.5077, allocations: 0 / 1.376 GB, free: 3.098 MB / 0.8698 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.0003695/0.5081, allocations: 335.4 kB / 1.376 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.5082, allocations: 12.56 kB / 1.376 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.5082, allocations: 34.5 kB / 1.377 GB, free: 2.668 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.5082, allocations: 3.906 kB / 1.377 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.5083, allocations: 175 kB / 1.377 GB, free: 2.453 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.5084, allocations: 7.984 kB / 1.377 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.5084, allocations: 0 / 1.377 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.5086, allocations: 49.69 kB / 1.377 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.5086, allocations: 0 / 1.377 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.5086, allocations: 0 / 1.377 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.5086, allocations: 3.984 kB / 1.377 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.5088, allocations: 47.91 kB / 1.377 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.5091, allocations: 248.9 kB / 1.377 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.5093, allocations: 46.59 kB / 1.377 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.5093, allocations: 0 / 1.377 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.5093, allocations: 34.56 kB / 1.377 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.5093, allocations: 0 / 1.377 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003689/0.5097, allocations: 105.6 kB / 1.377 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.5098, allocations: 51.41 kB / 1.377 GB, free: 1.777 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/0.5098, allocations: 96.95 kB / 1.377 GB, free: 1.676 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.5099, allocations: 29.64 kB / 1.377 GB, free: 1.641 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.5099, allocations: 88.25 kB / 1.377 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.5099, allocations: 7.906 kB / 1.377 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.5099, allocations: 0 / 1.377 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5101, allocations: 314.8 kB / 1.378 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.5101, allocations: 15.98 kB / 1.378 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.5102, allocations: 27.98 kB / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.101e-05/0.5103, allocations: 19.97 kB / 1.378 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5103, allocations: 0 / 1.378 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/0.5105, allocations: 81.67 kB / 1.378 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.5106, allocations: 8 kB / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5106, allocations: 0 / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5106, allocations: 3.984 kB / 1.378 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.127e-05/0.5107, allocations: 8 kB / 1.378 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.5107, allocations: 0 / 1.378 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.916e-05/0.5108, allocations: 19.92 kB / 1.378 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.5108, allocations: 7.938 kB / 1.378 GB, free: 1.031 MB / 0.8698 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.366e-05/0.5108, allocations: 105.8 kB / 1.378 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.5109, allocations: 7.938 kB / 1.378 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.5111, allocations: 84.72 kB / 1.378 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5111, allocations: 4 kB / 1.378 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5111, allocations: 3.984 kB / 1.378 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5111, allocations: 0 / 1.378 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.5113, allocations: 157.6 kB / 1.378 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5113, allocations: 0 / 1.378 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/0.5114, allocations: 11.98 kB / 1.378 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.5114, allocations: 0 / 1.378 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.5114, allocations: 0 / 1.378 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.5114, allocations: 8.031 kB / 1.378 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5114, allocations: 0 / 1.378 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.5117, allocations: 171.5 kB / 1.378 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.5117, allocations: 81.14 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.5117, allocations: 0 / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.5118, allocations: 15.92 kB / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.5119, allocations: 0 / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.5119, allocations: 0 / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.583e-05/0.5119, allocations: 87.27 kB / 1.379 GB, free: 216 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5119, allocations: 0 / 1.379 GB, free: 216 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002019/0.5121, allocations: 4 kB / 1.379 GB, free: 212 kB / 0.8698 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.0005523/0.5127, allocations: 0.7148 MB / 1.379 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.5129, allocations: 51.84 kB / 1.379 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5129, allocations: 0 / 1.379 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.916e-05/0.513, allocations: 28.03 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.5132, allocations: 11.88 kB / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.5137, allocations: 138.3 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.5139, allocations: 0.6809 MB / 1.38 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.255e-05/0.5139, allocations: 0 / 1.38 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.514, allocations: 7.5 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of SimCode: time 3.11e-07/0.514, allocations: 4 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.5268, allocations: 0.9937 MB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.5271, allocations: 177.5 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.495/2.022, allocations: 3.938 kB / 1.381 GB, free: 13.38 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat does not exist to compare? outputFormat=mat