Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.941/2.941, allocations: 287.3 MB / 302.3 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002454/0.002454, allocations: 182.8 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.286/2.286, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002565/0.002564, allocations: 99.45 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005268/0.0005268, allocations: 18.61 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2314, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.299, allocations: 137.4 MB / 1.112 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/1.3, allocations: 67.66 kB / 1.113 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00952/1.309, allocations: 1.401 MB / 1.114 GB, free: 31.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.196e-06/1.309, allocations: 0 / 1.114 GB, free: 31.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.107e-06/1.309, allocations: 0 / 1.114 GB, free: 31.34 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008201/1.31, allocations: 379.8 kB / 1.114 GB, free: 30.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/1.31, allocations: 11.86 kB / 1.114 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/1.31, allocations: 32.11 kB / 1.114 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/1.31, allocations: 7.875 kB / 1.114 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/1.311, allocations: 176.1 kB / 1.114 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/1.311, allocations: 4 kB / 1.114 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/1.311, allocations: 0 / 1.114 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/1.311, allocations: 78.78 kB / 1.115 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.311, allocations: 0 / 1.115 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/1.311, allocations: 3.562 kB / 1.115 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.311, allocations: 7.844 kB / 1.115 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007558/1.312, allocations: 87.95 kB / 1.115 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009052/1.313, allocations: 299.5 kB / 1.115 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/1.313, allocations: 67.52 kB / 1.115 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/1.313, allocations: 0 / 1.115 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/1.313, allocations: 36 kB / 1.115 GB, free: 30.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/1.313, allocations: 0 / 1.115 GB, free: 30.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.001305/1.315, allocations: 167.3 kB / 1.115 GB, free: 30.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/1.315, allocations: 55.38 kB / 1.115 GB, free: 30.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/1.315, allocations: 99.83 kB / 1.115 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/1.315, allocations: 25.7 kB / 1.115 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/1.315, allocations: 89.52 kB / 1.115 GB, free: 30.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/1.315, allocations: 13.75 kB / 1.115 GB, free: 30.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-06/1.315, allocations: 0 / 1.115 GB, free: 30.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.315, allocations: 318.5 kB / 1.116 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/1.316, allocations: 41.38 kB / 1.116 GB, free: 29.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/1.316, allocations: 54.7 kB / 1.116 GB, free: 29.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/1.317, allocations: 48.33 kB / 1.116 GB, free: 29.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.317, allocations: 0 / 1.116 GB, free: 29.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008708/1.318, allocations: 126.9 kB / 1.116 GB, free: 29.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/1.318, allocations: 3.844 kB / 1.116 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.318, allocations: 1.219 kB / 1.116 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/1.318, allocations: 0 / 1.116 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/1.318, allocations: 20.7 kB / 1.116 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/1.318, allocations: 0 / 1.116 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/1.318, allocations: 23.7 kB / 1.116 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/1.318, allocations: 3.844 kB / 1.116 GB, free: 29.64 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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.0001383/1.318, allocations: 111.2 kB / 1.116 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/1.318, allocations: 3.844 kB / 1.116 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/1.319, allocations: 12.75 kB / 1.116 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.319, allocations: 0 / 1.116 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/1.319, allocations: 0 / 1.116 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.319, allocations: 4 kB / 1.116 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/1.319, allocations: 170.3 kB / 1.116 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.319, allocations: 7.812 kB / 1.116 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/1.319, allocations: 17.53 kB / 1.116 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/1.319, allocations: 3.844 kB / 1.116 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/1.319, allocations: 0 / 1.116 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.319, allocations: 0 / 1.116 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.319, allocations: 0 / 1.116 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009631/1.32, allocations: 226.2 kB / 1.117 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/1.32, allocations: 77.11 kB / 1.117 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/1.32, allocations: 2.906 kB / 1.117 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/1.321, allocations: 17.8 kB / 1.117 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/1.321, allocations: 6.75 kB / 1.117 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/1.321, allocations: 0 / 1.117 GB, free: 29.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.856e-05/1.321, allocations: 97.56 kB / 1.117 GB, free: 28.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.01e-07/1.321, allocations: 0 / 1.117 GB, free: 28.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003905/1.321, allocations: 3.812 kB / 1.117 GB, free: 28.99 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0009725/1.322, allocations: 0.7525 MB / 1.118 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005697/1.323, allocations: 95.17 kB / 1.118 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.323, allocations: 0 / 1.118 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002739/1.323, allocations: 50.48 kB / 1.118 GB, free: 28.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/1.323, allocations: 10.69 kB / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/1.324, allocations: 172 kB / 1.118 GB, free: 28.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/1.324, allocations: 0.6821 MB / 1.119 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.819e-05/1.324, allocations: 0 / 1.119 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.458e-05/1.325, allocations: 14.72 kB / 1.119 GB, free: 27.44 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/1.325, allocations: 0 / 1.119 GB, free: 27.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/1.344, allocations: 1.313 MB / 1.12 GB, free: 27.28 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/1.345, allocations: 192.6 kB / 1.12 GB, free: 27.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/3.682, allocations: 0 / 1.12 GB, free: 27.04 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)