Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.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.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan",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.443/2.443, 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.001309/0.001309, allocations: 182.7 kB / 0.4901 GB, free: 2.25 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.546/1.546, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.0008823/0.0008823, allocations: 114.9 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003729, allocations: 8.031 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.282, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1927/0.4748, allocations: 150.3 MB / 1.376 GB, free: 3.035 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/0.4752, allocations: 83.94 kB / 1.376 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00725/0.4825, allocations: 2.63 MB / 1.379 GB, free: 324 kB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4825, allocations: 0 / 1.379 GB, free: 324 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.349e-05/0.4825, allocations: 4 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007589/0.4833, allocations: 487.2 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.4834, allocations: 20.5 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.582e-05/0.4834, allocations: 50.55 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.4835, allocations: 27.67 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.4839, allocations: 243.5 kB / 1.38 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.4839, allocations: 12.44 kB / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.484, allocations: 23.94 kB / 1.38 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.4845, allocations: 233.7 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4845, allocations: 0 / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.4845, allocations: 8 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.4845, allocations: 4 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.4849, allocations: 173.8 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.4863, allocations: 0.779 MB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.4865, allocations: 106.5 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.4866, allocations: 0 / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.4866, allocations: 34.56 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.4866, allocations: 0 / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.000575/0.4872, allocations: 197.5 kB / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.4872, allocations: 55.41 kB / 1.381 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.4875, allocations: 241.7 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/0.4876, allocations: 26.08 kB / 1.381 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.4877, allocations: 143.9 kB / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.4878, allocations: 39.39 kB / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.4878, allocations: 0 / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.4879, allocations: 336.6 kB / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.4881, allocations: 51.97 kB / 1.382 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.4882, allocations: 55.98 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.4884, allocations: 55.92 kB / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4884, allocations: 0 / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003862/0.4888, allocations: 177.4 kB / 1.382 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.4888, allocations: 7.984 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.4888, allocations: 0 / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.4889, allocations: 0 / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.4891, allocations: 31.98 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4891, allocations: 3.938 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.4892, allocations: 27.73 kB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.4892, allocations: 0 / 1.382 GB, free: 12.49 MB / 0.8855 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 (13): * Single equations (assignments): 13 * 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 0.0001502/0.4894, allocations: 138.4 kB / 1.383 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.4894, allocations: 19.81 kB / 1.383 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.4899, allocations: 175.2 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4899, allocations: 4 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4899, allocations: 0 / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4899, allocations: 0 / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008599/0.4908, allocations: 0.5514 MB / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4908, allocations: 0 / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.491, allocations: 31.92 kB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.491, allocations: 4 kB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.491, allocations: 0 / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.491, allocations: 4 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.491, allocations: 0 / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.4915, allocations: 315 kB / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.183e-05/0.4916, allocations: 104.8 kB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.4916, allocations: 11.95 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.4918, allocations: 15.98 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.4919, allocations: 11.98 kB / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.4919, allocations: 8 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002049/0.4921, allocations: 194 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4921, allocations: 4 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002711/0.4924, allocations: 28.09 kB / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * 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.0008882/0.4933, allocations: 1.067 MB / 1.385 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003485/0.4936, allocations: 119.4 kB / 1.385 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4937, allocations: 0 / 1.385 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.4938, allocations: 71.91 kB / 1.385 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.4942, allocations: 49.66 kB / 1.385 GB, free: 9.398 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.4964, allocations: 1.178 MB / 1.386 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.4968, allocations: 0.7365 MB / 1.387 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.964e-05/0.4969, allocations: 21.95 kB / 1.387 GB, free: 7.371 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.497, allocations: 71.34 kB / 1.387 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of SimCode: time 3e-07/0.497, allocations: 0 / 1.387 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.5155, allocations: 4.22 MB / 1.391 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/0.5158, allocations: 253.1 kB / 1.392 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.368, allocations: 0 / 1.392 GB, free: 3.008 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat does not exist to compare? outputFormat=mat