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.293/2.293, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001181/0.001181, allocations: 188.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.000966/0.0009662, allocations: 99.88 kB / 0.9318 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.878e-05/3.893e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2538, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8746/1.128, allocations: 149.6 MB / 1.365 GB, free: 4.441 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/1.129, allocations: 66.14 kB / 1.365 GB, free: 4.406 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001893/1.131, allocations: 0.6727 MB / 1.366 GB, free: 3.789 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.535e-06/1.131, allocations: 0 / 1.366 GB, free: 3.789 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.131, allocations: 4 kB / 1.366 GB, free: 3.785 MB / 0.823 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.000449/1.131, allocations: 333.8 kB / 1.366 GB, free: 3.418 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.637e-05/1.131, allocations: 12.02 kB / 1.366 GB, free: 3.406 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.73e-05/1.131, allocations: 30.56 kB / 1.366 GB, free: 3.367 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/1.131, allocations: 8 kB / 1.366 GB, free: 3.359 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/1.131, allocations: 167.8 kB / 1.366 GB, free: 3.156 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/1.131, allocations: 0 / 1.366 GB, free: 3.156 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/1.132, allocations: 4 kB / 1.366 GB, free: 3.152 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/1.132, allocations: 36.81 kB / 1.366 GB, free: 3.113 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.132, allocations: 0 / 1.366 GB, free: 3.113 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/1.132, allocations: 3.25 kB / 1.366 GB, free: 3.113 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/1.132, allocations: 0 / 1.366 GB, free: 3.113 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.006e-05/1.132, allocations: 11.44 kB / 1.366 GB, free: 3.105 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/1.132, allocations: 255.5 kB / 1.367 GB, free: 2.812 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.823e-05/1.132, allocations: 25.52 kB / 1.367 GB, free: 2.781 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/1.132, allocations: 12.36 kB / 1.367 GB, free: 2.77 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/1.132, allocations: 8.031 kB / 1.367 GB, free: 2.762 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/1.132, allocations: 30.56 kB / 1.367 GB, free: 2.723 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/1.132, allocations: 0 / 1.367 GB, free: 2.723 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001585/1.133, allocations: 41.27 kB / 1.367 GB, free: 2.68 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/1.133, allocations: 59.3 kB / 1.367 GB, free: 2.609 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.986e-05/1.133, allocations: 101.2 kB / 1.367 GB, free: 2.508 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/1.133, allocations: 29.7 kB / 1.367 GB, free: 2.473 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/1.133, allocations: 84.12 kB / 1.367 GB, free: 2.387 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/1.133, allocations: 7.344 kB / 1.367 GB, free: 2.383 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/1.133, allocations: 0 / 1.367 GB, free: 2.383 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.133, allocations: 310.8 kB / 1.367 GB, free: 2.07 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/1.133, allocations: 11.22 kB / 1.367 GB, free: 2.062 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.4e-05/1.133, allocations: 4 kB / 1.367 GB, free: 2.059 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.129e-05/1.133, allocations: 9.594 kB / 1.367 GB, free: 2.055 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.133, allocations: 0 / 1.367 GB, free: 2.055 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.397e-05/1.133, allocations: 41.19 kB / 1.367 GB, free: 2.012 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.133, allocations: 8 kB / 1.367 GB, free: 2.004 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/1.133, allocations: 0 / 1.367 GB, free: 2.004 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/1.133, allocations: 0 / 1.367 GB, free: 2.004 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/1.133, allocations: 20.02 kB / 1.367 GB, free: 1.984 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/1.133, allocations: 0 / 1.367 GB, free: 1.984 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.584e-05/1.133, allocations: 11.95 kB / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/1.133, allocations: 0 / 1.367 GB, free: 1.973 MB / 0.823 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 () * 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.736e-05/1.133, allocations: 101.7 kB / 1.367 GB, free: 1.867 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/1.133, allocations: 0 / 1.367 GB, free: 1.867 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/1.134, allocations: 59.84 kB / 1.367 GB, free: 1.812 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.134, allocations: 0 / 1.367 GB, free: 1.812 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.134, allocations: 3.984 kB / 1.367 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/1.134, allocations: 0 / 1.367 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/1.134, allocations: 156.9 kB / 1.368 GB, free: 1.609 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.134, allocations: 0 / 1.368 GB, free: 1.609 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.931e-05/1.134, allocations: 15.92 kB / 1.368 GB, free: 1.594 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/1.134, allocations: 4 kB / 1.368 GB, free: 1.59 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/1.134, allocations: 3.125 kB / 1.368 GB, free: 1.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.134, allocations: 3.938 kB / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.134, allocations: 4.031 kB / 1.368 GB, free: 1.582 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/1.134, allocations: 142.1 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/1.134, allocations: 77.11 kB / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/1.134, allocations: 0 / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/1.134, allocations: 11.98 kB / 1.368 GB, free: 1.328 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/1.134, allocations: 0 / 1.368 GB, free: 1.328 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/1.134, allocations: 4.031 kB / 1.368 GB, free: 1.324 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.441e-05/1.134, allocations: 82.72 kB / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.134, allocations: 0 / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002146/1.134, allocations: 4 kB / 1.368 GB, free: 1.242 MB / 0.823 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 () * 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.000528/1.135, allocations: 0.6725 MB / 1.369 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.791e-05/1.135, allocations: 19.62 kB / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.135, allocations: 3.938 kB / 1.369 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.286e-05/1.135, allocations: 7.25 kB / 1.369 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/1.135, allocations: 4 kB / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/1.136, allocations: 94.27 kB / 1.369 GB, free: 404 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/1.136, allocations: 0.6848 MB / 1.369 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.288e-05/1.136, allocations: 4.125 kB / 1.369 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/1.136, allocations: 7.438 kB / 1.369 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/1.136, allocations: 0 / 1.369 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01183/1.148, allocations: 0.9972 MB / 1.37 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/1.148, allocations: 177 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.714, allocations: 3.938 kB / 1.371 GB, free: 14.57 MB / 0.8386 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