Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_8_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_8_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.001236/0.001237, allocations: 105.4 kB / 15.7 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 194.7 kB / 16.64 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 71.75 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3507, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.007949/0.3588, allocations: 3.124 MB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003302/0.3622, allocations: 1.143 MB / 0.7878 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004168/0.3627, allocations: 19.88 kB / 0.7878 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.3631, allocations: 91.06 kB / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.3635, allocations: 107.1 kB / 0.788 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.3645, allocations: 342 kB / 0.7884 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009539/0.3655, allocations: 0.6402 MB / 0.789 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005798/0.3661, allocations: 258.1 kB / 0.7892 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/0.3664, allocations: 215 kB / 0.7894 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.3668, allocations: 210.8 kB / 0.7896 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.3669, allocations: 52 kB / 0.7897 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.367, allocations: 55.94 kB / 0.7897 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.3672, allocations: 103.6 kB / 0.7898 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.3675, allocations: 250.5 kB / 0.7901 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009071/0.3684, allocations: 0.6811 MB / 0.7907 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3685, allocations: 4 kB / 0.7907 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.424e-06/0.3685, allocations: 0 / 0.7907 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.3685, allocations: 0 / 0.7907 GB, free: 5.945 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001882/0.3704, allocations: 0.8137 MB / 0.7915 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.014e-05/0.3705, allocations: 12.03 kB / 0.7915 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.3706, allocations: 62.72 kB / 0.7916 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.3707, allocations: 60.19 kB / 0.7917 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.372, allocations: 0.5178 MB / 0.7922 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.372, allocations: 21.03 kB / 0.7922 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.639e-05/0.3721, allocations: 28.38 kB / 0.7922 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008971/0.373, allocations: 374.9 kB / 0.7926 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.373, allocations: 3.938 kB / 0.7926 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.3731, allocations: 16 kB / 0.7926 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.3731, allocations: 8 kB / 0.7926 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007909/0.3739, allocations: 250.1 kB / 0.7928 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.3762, allocations: 1.425 MB / 0.7942 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009736/0.3772, allocations: 269.7 kB / 0.7945 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/0.3776, allocations: 132.8 kB / 0.7946 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.595e-05/0.3777, allocations: 11.98 kB / 0.7946 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.3777, allocations: 34.56 kB / 0.7947 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 2.865e-06/0.3777, allocations: 0 / 0.7947 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0013/0.3791, allocations: 364.6 kB / 0.795 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.3791, allocations: 63.41 kB / 0.7951 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006738/0.3798, allocations: 409.9 kB / 0.7955 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.3799, allocations: 29.7 kB / 0.7955 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.3802, allocations: 260.1 kB / 0.7957 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.32e-05/0.3803, allocations: 82.75 kB / 0.7958 GB, free: 500 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.3804, allocations: 53.97 kB / 0.7959 GB, free: 440 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.3807, allocations: 350.8 kB / 0.7962 GB, free: 80 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.381, allocations: 100.6 kB / 0.7963 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.3815, allocations: 156.8 kB / 0.7964 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007715/0.3823, allocations: 270.4 kB / 0.7967 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3823, allocations: 3.938 kB / 0.7967 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000984/0.3833, allocations: 347 kB / 0.797 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.3833, allocations: 6.656 kB / 0.797 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3834, allocations: 4 kB / 0.797 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/0.3834, allocations: 4 kB / 0.797 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.3838, allocations: 63.89 kB / 0.7971 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/0.3838, allocations: 7.938 kB / 0.7971 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.3841, allocations: 35.67 kB / 0.7972 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.3842, allocations: 16.22 kB / 0.7972 GB, free: 15.03 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000306/0.3845, allocations: 177.7 kB / 0.7973 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.626e-05/0.3846, allocations: 39.53 kB / 0.7974 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.3848, allocations: 47.97 kB / 0.7974 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.3848, allocations: 4 kB / 0.7974 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.3848, allocations: 0 / 0.7974 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.3848, allocations: 3.938 kB / 0.7974 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007122/0.3855, allocations: 437.2 kB / 0.7978 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3855, allocations: 0 / 0.7978 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/0.3859, allocations: 51.97 kB / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3859, allocations: 3.938 kB / 0.7979 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.386, allocations: 4 kB / 0.7979 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.386, allocations: 4 kB / 0.7979 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.386, allocations: 3.984 kB / 0.7979 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.3873, allocations: 0.4932 MB / 0.7984 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.3876, allocations: 140.5 kB / 0.7985 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/0.3876, allocations: 4 kB / 0.7985 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.3879, allocations: 11.98 kB / 0.7985 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-05/0.388, allocations: 23.91 kB / 0.7986 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.388, allocations: 4 kB / 0.7986 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004716/0.3885, allocations: 295.2 kB / 0.7988 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3885, allocations: 0 / 0.7988 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005124/0.3891, allocations: 71.69 kB / 0.7989 GB, free: 13.14 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001692/0.3908, allocations: 1.039 MB / 0.7999 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000825/0.3916, allocations: 252.1 kB / 0.8002 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.3916, allocations: 0 / 0.8002 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.392, allocations: 115.8 kB / 0.8003 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008633/0.3928, allocations: 125.8 kB / 0.8004 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/0.3981, allocations: 3.498 MB / 0.8038 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.3986, allocations: 0.8155 MB / 0.8046 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002093/0.3988, allocations: 51.25 kB / 0.8047 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.399, allocations: 151.4 kB / 0.8048 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of SimCode: time 6.81e-07/0.399, allocations: 0 / 0.8048 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/0.4333, allocations: 7.928 MB / 0.8125 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/8.875, allocations: 14 kB / 0.8126 GB, free: 15.21 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)