Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 249.3 MB / 261.8 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 182.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 86.47 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.246e-05, allocations: 0 / 0.7881 GB, free: 96.92 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2028, allocations: 106.3 MB / 0.892 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6978/0.9006, allocations: 133 MB / 1.022 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.901, allocations: 83.44 kB / 1.022 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01398/0.915, allocations: 5.048 MB / 1.027 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.664e-06/0.915, allocations: 0 / 1.027 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.265e-05/0.915, allocations: 8 kB / 1.027 GB, free: 13.37 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001159/0.9162, allocations: 0.6729 MB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.9163, allocations: 8.031 kB / 1.028 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.914e-05/0.9164, allocations: 89.95 kB / 1.028 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.9165, allocations: 55.44 kB / 1.028 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.9169, allocations: 335.8 kB / 1.028 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.917, allocations: 42.48 kB / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.917, allocations: 49.81 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006865/0.9177, allocations: 397.3 kB / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.9177, allocations: 0 / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.9178, allocations: 16.75 kB / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.9178, allocations: 15.94 kB / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.9183, allocations: 301.6 kB / 1.029 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.9206, allocations: 1.292 MB / 1.03 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.921, allocations: 318.4 kB / 1.03 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.9213, allocations: 151.2 kB / 1.03 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.9213, allocations: 8.375 kB / 1.03 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004552/0.9218, allocations: 301.5 kB / 1.031 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=49): time 2.374e-06/0.9218, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49): time 0.0007834/0.9226, allocations: 460 kB / 1.031 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.9227, allocations: 178.5 kB / 1.031 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.9231, allocations: 352.1 kB / 1.032 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/0.9232, allocations: 52.39 kB / 1.032 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.9233, allocations: 200.2 kB / 1.032 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.9234, allocations: 137.2 kB / 1.032 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.9235, allocations: 10.69 kB / 1.032 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.9236, allocations: 366 kB / 1.032 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.9239, allocations: 135.9 kB / 1.033 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.9242, allocations: 272.5 kB / 1.033 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.9246, allocations: 183.3 kB / 1.033 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.9246, allocations: 0 / 1.033 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008429/0.9254, allocations: 0.494 MB / 1.033 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.9255, allocations: 8 kB / 1.033 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.9255, allocations: 7.984 kB / 1.033 GB, free: 7.785 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.9255, allocations: 4 kB / 1.033 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/0.926, allocations: 95.14 kB / 1.034 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.926, allocations: 11.94 kB / 1.034 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.9263, allocations: 77.47 kB / 1.034 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.9264, allocations: 26.81 kB / 1.034 GB, free: 7.594 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.modFre.firOrdHolRetDam.firstTrigger,modFre.firOrdHolRetDam.firstTrigger,$PRE.modFre.firOrdHolOutDam.firstTrigger,modFre.firOrdHolOutDam.firstTrigger,$PRE.mod.firOrdHolRetDam.firstTrigger,mod.firOrdHolRetDam.firstTrigger,$PRE.mod.firOrdHolOutDam.firstTrigger,mod.firOrdHolOutDam.firstTrigger,$whenCondition1,mod.firOrdHolOutDam.sampleTrigger,$whenCondition2,mod.firOrdHolRetDam.sampleTrigger,$whenCondition3,modFre.firOrdHolOutDam.sampleTrigger,$whenCondition4,modFre.firOrdHolRetDam.sampleTrigger,$PRE.mod.firOrdHolOutDam.tSample,mod.firOrdHolOutDam.tSample,$PRE.mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.uSample,$PRE.mod.firOrdHolOutDam.pre_uSample,mod.firOrdHolOutDam.pre_uSample,$PRE.mod.firOrdHolOutDam.c,mod.firOrdHolOutDam.c,$PRE.mod.firOrdHolRetDam.tSample,mod.firOrdHolRetDam.tSample,$PRE.mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.uSample,$PRE.mod.firOrdHolRetDam.pre_uSample,mod.firOrdHolRetDam.pre_uSample,$PRE.mod.firOrdHolRetDam.c,mod.firOrdHolRetDam.c,$PRE.modFre.firOrdHolOutDam.tSample,modFre.firOrdHolOutDam.tSample,$PRE.modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.uSample,$PRE.modFre.firOrdHolOutDam.pre_uSample,modFre.firOrdHolOutDam.pre_uSample,$PRE.modFre.firOrdHolOutDam.c,modFre.firOrdHolOutDam.c,$PRE.modFre.firOrdHolRetDam.tSample,modFre.firOrdHolRetDam.tSample,$PRE.modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.uSample,$PRE.modFre.firOrdHolRetDam.pre_uSample,modFre.firOrdHolRetDam.pre_uSample,$PRE.modFre.firOrdHolRetDam.c,modFre.firOrdHolRetDam.c) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0001921/0.9266, allocations: 170 kB / 1.034 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.385e-05/0.9267, allocations: 43.44 kB / 1.034 GB, free: 7.395 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009022/0.9276, allocations: 0.5151 MB / 1.034 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.9276, allocations: 8 kB / 1.034 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.9276, allocations: 0 / 1.034 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.9276, allocations: 0 / 1.034 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.9291, allocations: 1.137 MB / 1.036 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.9291, allocations: 0 / 1.036 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.9293, allocations: 59.16 kB / 1.036 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.9294, allocations: 0 / 1.036 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.9294, allocations: 23.44 kB / 1.036 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.9294, allocations: 7.938 kB / 1.036 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9294, allocations: 0 / 1.036 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008057/0.9302, allocations: 0.6483 MB / 1.036 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.9303, allocations: 139.3 kB / 1.036 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.9304, allocations: 14.98 kB / 1.036 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.9307, allocations: 42.84 kB / 1.036 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.9308, allocations: 36.22 kB / 1.036 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.9309, allocations: 23.48 kB / 1.036 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000309/0.9312, allocations: 269 kB / 1.037 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9312, allocations: 0 / 1.037 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004355/0.9316, allocations: 106.5 kB / 1.037 GB, free: 4.887 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 28 (modFre.firOrdHolRetDam.sampleTrigger,modFre.firOrdHolOutDam.sampleTrigger,mod.firOrdHolRetDam.sampleTrigger,mod.firOrdHolOutDam.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mod.firOrdHolOutDam.firstTrigger,mod.firOrdHolOutDam.tSample,mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.pre_uSample,mod.firOrdHolOutDam.c,mod.firOrdHolRetDam.firstTrigger,mod.firOrdHolRetDam.tSample,mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.pre_uSample,mod.firOrdHolRetDam.c,modFre.firOrdHolOutDam.firstTrigger,modFre.firOrdHolOutDam.tSample,modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.pre_uSample,modFre.firOrdHolOutDam.c,modFre.firOrdHolRetDam.firstTrigger,modFre.firOrdHolRetDam.tSample,modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.pre_uSample,modFre.firOrdHolRetDam.c) * Number of discrete states: 8 (modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.c,modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.c,mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.c,mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.c) * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.001384/0.933, allocations: 1.499 MB / 1.038 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007465/0.9338, allocations: 396.3 kB / 1.039 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.9338, allocations: 0 / 1.039 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.9341, allocations: 195.9 kB / 1.039 GB, free: 3.055 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.9347, allocations: 106.1 kB / 1.039 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.9362, allocations: 0.616 MB / 1.04 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.9368, allocations: 0.8207 MB / 1.04 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002181/0.937, allocations: 64.55 kB / 1.04 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.9373, allocations: 152.2 kB / 1.041 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of SimCode: time 1.914e-06/0.9373, allocations: 0 / 1.041 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.9625, allocations: 8.898 MB / 1.049 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.9628, allocations: 224.2 kB / 1.049 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.14/3.103, allocations: 0 / 1.049 GB, free: 8.586 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1)