Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001021/0.001021, allocations: 188.6 kB / 487.4 MB, free: 5.07 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.548/1.548, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009634/0.0009634, allocations: 95.84 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/2e-05, allocations: 8 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2555, allocations: 142.4 MB / 1.206 GB, free: 43.77 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9116/1.167, allocations: 151.2 MB / 1.354 GB, free: 18.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/1.167, allocations: 78.39 kB / 1.354 GB, free: 18.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0496/1.217, allocations: 21.81 MB / 1.375 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/1.217, allocations: 0 / 1.375 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001045/1.217, allocations: 49.8 kB / 1.375 GB, free: 30.69 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.002909/1.22, allocations: 1.749 MB / 1.377 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.22, allocations: 12.25 kB / 1.377 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/1.22, allocations: 220.6 kB / 1.377 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/1.222, allocations: 1.092 MB / 1.378 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/1.222, allocations: 57.88 kB / 1.378 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/1.222, allocations: 110.9 kB / 1.378 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001831/1.224, allocations: 1.205 MB / 1.38 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/1.226, allocations: 1.213 MB / 1.381 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/1.226, allocations: 0 / 1.381 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/1.226, allocations: 3.812 kB / 1.381 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/1.226, allocations: 42.53 kB / 1.381 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006131/1.232, allocations: 4.186 MB / 1.385 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/1.234, allocations: 0.9861 MB / 1.386 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004946/1.235, allocations: 399.3 kB / 1.386 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.37e-05/1.235, allocations: 32.22 kB / 1.386 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/1.235, allocations: 58.22 kB / 1.386 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=119): time 3.447e-06/1.235, allocations: 0 / 1.386 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=119): time 0.001331/1.236, allocations: 0.9022 MB / 1.387 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/1.236, allocations: 64.28 kB / 1.387 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006899/1.237, allocations: 0.6568 MB / 1.388 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.087e-05/1.237, allocations: 37.39 kB / 1.388 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/1.237, allocations: 0.7557 MB / 1.389 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/1.238, allocations: 383.2 kB / 1.389 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/1.238, allocations: 0 / 1.389 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.238, allocations: 349.5 kB / 1.389 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/1.238, allocations: 383 kB / 1.39 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006161/1.239, allocations: 0.5422 MB / 1.39 GB, free: 25.08 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/1.24, allocations: 415.2 kB / 1.391 GB, free: 25.03 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.24, allocations: 7.781 kB / 1.391 GB, free: 25.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001426/1.241, allocations: 1.075 MB / 1.392 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002439/1.241, allocations: 0.6272 MB / 1.392 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.241, allocations: 7.828 kB / 1.392 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/1.241, allocations: 7.656 kB / 1.392 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/1.242, allocations: 288.9 kB / 1.393 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/1.242, allocations: 7.844 kB / 1.393 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007556/1.243, allocations: 144.2 kB / 1.393 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.442e-05/1.243, allocations: 44.83 kB / 1.393 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/1.243, allocations: 3.906 kB / 1.393 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001277/1.245, allocations: 0.9186 MB / 1.394 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.245, allocations: 3.984 kB / 1.394 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.657e-06/1.245, allocations: 7.688 kB / 1.394 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009385/1.246, allocations: 268.2 kB / 1.394 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.246, allocations: 15.66 kB / 1.394 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006328/1.246, allocations: 108.9 kB / 1.394 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/1.246, allocations: 49.02 kB / 1.394 GB, free: 23.82 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setPoiVAV.heaSta.greHys.y,setPoiVAV.heaSta.greHys.y,$PRE.setPoiVAV.gre.greHys.y,setPoiVAV.gre.greHys.y,$PRE.setPoiVAV1.heaSta.greHys.y,setPoiVAV1.heaSta.greHys.y,$PRE.setPoiVAV1.gre.greHys.y,setPoiVAV1.gre.greHys.y,$PRE.setPoiVAV2.heaSta.greHys.y,setPoiVAV2.heaSta.greHys.y,$PRE.setPoiVAV2.gre.greHys.y,setPoiVAV2.gre.greHys.y,setPoiVAV2.y1SupFan,setPoiVAV1.y1SupFan,setPoiVAV.y1SupFan) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 155 * 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.0002426/1.247, allocations: 131 kB / 1.394 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001187/1.248, allocations: 0.9032 MB / 1.395 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/1.248, allocations: 112.6 kB / 1.395 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/1.25, allocations: 1.484 MB / 1.397 GB, free: 23.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/1.25, allocations: 11.56 kB / 1.397 GB, free: 23.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.25, allocations: 4 kB / 1.397 GB, free: 23.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/1.25, allocations: 7.969 kB / 1.397 GB, free: 23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/1.254, allocations: 3.417 MB / 1.4 GB, free: 21.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.254, allocations: 8.812 kB / 1.4 GB, free: 21.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009319/1.255, allocations: 274.1 kB / 1.4 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/1.255, allocations: 15.47 kB / 1.4 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.151e-05/1.255, allocations: 38.39 kB / 1.4 GB, free: 21.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/1.255, allocations: 22.94 kB / 1.4 GB, free: 21.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/1.255, allocations: 19.41 kB / 1.4 GB, free: 21.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/1.257, allocations: 2.431 MB / 1.403 GB, free: 20.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/1.257, allocations: 216 kB / 1.403 GB, free: 20.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/1.258, allocations: 30.05 kB / 1.403 GB, free: 20.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008815/1.258, allocations: 128.6 kB / 1.403 GB, free: 19.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/1.259, allocations: 171.4 kB / 1.403 GB, free: 19.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/1.259, allocations: 58.69 kB / 1.403 GB, free: 19.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005602/1.259, allocations: 0.5169 MB / 1.404 GB, free: 19.74 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.259, allocations: 0 / 1.404 GB, free: 19.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001265/1.261, allocations: 0.5662 MB / 1.404 GB, free: 19.57 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 3 (setPoiVAV.ramLim.y,setPoiVAV1.ramLim.y,setPoiVAV2.ramLim.y) * Number of discrete variables: 6 (setPoiVAV.heaSta.greHys.y,setPoiVAV.gre.greHys.y,setPoiVAV1.heaSta.greHys.y,setPoiVAV1.gre.greHys.y,setPoiVAV2.heaSta.greHys.y,setPoiVAV2.gre.greHys.y) * Number of discrete states: 6 (setPoiVAV2.heaSta.greHys.y,setPoiVAV1.heaSta.greHys.y,setPoiVAV.heaSta.greHys.y,setPoiVAV2.gre.greHys.y,setPoiVAV1.gre.greHys.y,setPoiVAV.gre.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.003802/1.264, allocations: 6.114 MB / 1.41 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002168/1.267, allocations: 1.536 MB / 1.412 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.267, allocations: 4 kB / 1.412 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007959/1.267, allocations: 0.5447 MB / 1.412 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/1.269, allocations: 234.3 kB / 1.413 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/1.273, allocations: 2.326 MB / 1.415 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007306/1.273, allocations: 1.288 MB / 1.416 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00107/1.274, allocations: 229.6 kB / 1.416 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007342/1.275, allocations: 0.6571 MB / 1.417 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of SimCode: time 1.263e-06/1.275, allocations: 0 / 1.417 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05299/1.328, allocations: 24.5 MB / 1.441 GB, free: 2.773 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/1.328, allocations: 179.4 kB / 1.441 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.823/4.151, allocations: 3.438 kB / 1.441 GB, free: 2.578 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat does not exist to compare? outputFormat=mat