Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.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.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",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.0007841/0.0007842, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.0008912/0.0008913, allocations: 172.7 kB / 15.95 MB, free: 208 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.412/1.412, allocations: 223.3 MB / 240 MB, free: 5.293 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.39/2.39, allocations: 390.4 MB / 0.6655 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 8 kB / 0.8149 GB, free: 14.03 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6908/0.6912, allocations: 142.3 MB / 0.9539 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.001163/0.6924, allocations: 0.611 MB / 0.9545 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.6936, allocations: 0.8864 MB / 0.9554 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.6938, allocations: 2.438 kB / 0.9554 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.6938, allocations: 11.86 kB / 0.9554 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.991e-05/0.6939, allocations: 13.8 kB / 0.9554 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.6941, allocations: 34.98 kB / 0.9554 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.6943, allocations: 128.1 kB / 0.9556 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.6945, allocations: 56.2 kB / 0.9556 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.171e-05/0.6946, allocations: 36.38 kB / 0.9557 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.6946, allocations: 39.09 kB / 0.9557 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.6947, allocations: 4.781 kB / 0.9557 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.141e-05/0.6947, allocations: 4.125 kB / 0.9557 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.6947, allocations: 20.28 kB / 0.9557 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.6948, allocations: 44.95 kB / 0.9558 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.6949, allocations: 154.5 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6949, allocations: 3.938 kB / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6949, allocations: 0 / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.695, allocations: 1.25 kB / 0.9559 GB, free: 6.531 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005618/0.6955, allocations: 437.4 kB / 0.9563 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.6956, allocations: 13.09 kB / 0.9564 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.6956, allocations: 42.5 kB / 0.9564 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.6957, allocations: 18.78 kB / 0.9564 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.696, allocations: 224.2 kB / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.696, allocations: 9.859 kB / 0.9566 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.696, allocations: 11.81 kB / 0.9566 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.6963, allocations: 141.7 kB / 0.9568 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.6963, allocations: 3.953 kB / 0.9568 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.6964, allocations: 5.156 kB / 0.9568 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.6964, allocations: 3.531 kB / 0.9568 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.6967, allocations: 111.1 kB / 0.9569 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006996/0.6974, allocations: 488.8 kB / 0.9574 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.6976, allocations: 80.95 kB / 0.9574 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.6977, allocations: 52.44 kB / 0.9575 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.6977, allocations: 1.062 kB / 0.9575 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.6978, allocations: 39.8 kB / 0.9575 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.6978, allocations: 0 / 0.9575 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004502/0.6982, allocations: 162 kB / 0.9577 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.6983, allocations: 52.53 kB / 0.9577 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.6984, allocations: 182.1 kB / 0.9579 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.6985, allocations: 31.75 kB / 0.9579 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.6985, allocations: 118.3 kB / 0.958 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.6986, allocations: 19.42 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.6986, allocations: 4 kB / 0.9581 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.073e-05/0.6986, allocations: 326.3 kB / 0.9584 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.6988, allocations: 39.72 kB / 0.9584 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.6989, allocations: 66.14 kB / 0.9585 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.699, allocations: 42.98 kB / 0.9585 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.699, allocations: 0 / 0.9585 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002801/0.6993, allocations: 145 kB / 0.9587 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.6993, allocations: 8.672 kB / 0.9587 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.6993, allocations: 1.375 kB / 0.9587 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.6994, allocations: 5.359 kB / 0.9587 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.6995, allocations: 23.33 kB / 0.9587 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.6995, allocations: 0 / 0.9587 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.904e-05/0.6996, allocations: 29.2 kB / 0.9587 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.6996, allocations: 7.094 kB / 0.9587 GB, free: 4.074 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.exhDamPos.greThr.y,exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.003e-05/0.6997, allocations: 124.5 kB / 0.9589 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.6998, allocations: 13.03 kB / 0.9589 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.7001, allocations: 138 kB / 0.959 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.7001, allocations: 1.875 kB / 0.959 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7001, allocations: 0 / 0.959 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7001, allocations: 0 / 0.959 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.7006, allocations: 438.9 kB / 0.9594 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7006, allocations: 0 / 0.9594 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.452e-05/0.7007, allocations: 25.69 kB / 0.9594 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.7007, allocations: 1.375 kB / 0.9594 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.7007, allocations: 1.375 kB / 0.9594 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.7007, allocations: 1.375 kB / 0.9594 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7007, allocations: 3.938 kB / 0.9595 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.701, allocations: 226 kB / 0.9597 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.7011, allocations: 89.14 kB / 0.9598 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.7011, allocations: 9.312 kB / 0.9598 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.7012, allocations: 13.62 kB / 0.9598 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.7013, allocations: 17.47 kB / 0.9598 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-06/0.7013, allocations: 1.375 kB / 0.9598 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.908e-05/0.7014, allocations: 142.8 kB / 0.9599 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7014, allocations: 0 / 0.9599 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002519/0.7016, allocations: 21.78 kB / 0.9599 GB, free: 3.008 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0005145/0.7022, allocations: 0.7694 MB / 0.9607 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.7024, allocations: 97.27 kB / 0.9608 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7025, allocations: 0 / 0.9608 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.7026, allocations: 46.31 kB / 0.9608 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.703, allocations: 34.11 kB / 0.9609 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.7045, allocations: 0.8499 MB / 0.9617 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.7047, allocations: 0.7052 MB / 0.9624 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.74e-05/0.7047, allocations: 15.55 kB / 0.9624 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.7048, allocations: 42.48 kB / 0.9624 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.7048, allocations: 1.156 kB / 0.9624 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.7198, allocations: 2.884 MB / 0.9653 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.72, allocations: 231 kB / 0.9655 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.538, allocations: 0 / 0.9655 GB, free: 15.32 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat does not exist to compare? outputFormat=mat