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.39/2.39, allocations: 284.9 MB / 292.4 MB, free: 10.58 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.001421/0.001421, allocations: 176.9 kB / 360.6 MB, free: 7.312 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.037/2.037, allocations: 205.2 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 92.48 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.383e-05/4.443e-05, allocations: 8 kB / 0.8509 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8566/0.8567, allocations: 115.3 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2772/1.134, allocations: 136.6 MB / 1.097 GB, free: 3.805 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.134, allocations: 63.97 kB / 1.097 GB, free: 3.742 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005975/1.14, allocations: 1.395 MB / 1.098 GB, free: 2.383 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.933e-06/1.14, allocations: 0 / 1.098 GB, free: 2.383 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.675e-06/1.14, allocations: 0 / 1.098 GB, free: 2.383 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.0006749/1.141, allocations: 365.1 kB / 1.099 GB, free: 1.984 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.141, allocations: 8.031 kB / 1.099 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/1.141, allocations: 9.109 kB / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/1.141, allocations: 178.9 kB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/1.141, allocations: 4.594 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/1.141, allocations: 0.6562 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001167/1.141, allocations: 16.84 kB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/1.142, allocations: 42.38 kB / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/1.142, allocations: 4.812 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/1.142, allocations: 0 / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/1.142, allocations: 3.562 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006945/1.142, allocations: 281.4 kB / 1.099 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/1.142, allocations: 35.17 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/1.143, allocations: 17.64 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/1.143, allocations: 0 / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/1.143, allocations: 32.44 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/1.143, allocations: 1.156 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002133/1.143, allocations: 51.19 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/1.143, allocations: 56.84 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/1.143, allocations: 94.48 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/1.143, allocations: 29.7 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/1.143, allocations: 85 kB / 1.1 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/1.143, allocations: 19.69 kB / 1.1 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/1.143, allocations: 1.594 kB / 1.1 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.143, allocations: 321.5 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.882e-05/1.143, allocations: 8 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/1.143, allocations: 8 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.03e-05/1.143, allocations: 15.89 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.143, allocations: 3 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001292/1.144, allocations: 45.7 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.144, allocations: 4 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/1.144, allocations: 0 / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/1.144, allocations: 0 / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/1.144, allocations: 23.97 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/1.144, allocations: 1.031 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/1.144, allocations: 17.89 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/1.144, allocations: 3.938 kB / 1.1 GB, free: 480 kB / 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 () * 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.0001007/1.144, allocations: 116.7 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001384/1.144, allocations: 59.55 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/1.144, allocations: 4 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/1.144, allocations: 8.344 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.145, allocations: 0 / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.145, allocations: 0 / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.145, allocations: 0 / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/1.145, allocations: 150.2 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.145, allocations: 0 / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/1.145, allocations: 23.98 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.145, allocations: 0 / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/1.145, allocations: 0 / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.145, allocations: 0 / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.145, allocations: 0 / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/1.145, allocations: 155.3 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/1.145, allocations: 81.11 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/1.145, allocations: 0 / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/1.146, allocations: 27.97 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/1.146, allocations: 1.062 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/1.146, allocations: 0 / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.421e-05/1.146, allocations: 93.14 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.146, allocations: 0 / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003071/1.146, allocations: 4 kB / 1.101 GB, free: 15.68 MB / 0.7136 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 () * 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.0005798/1.147, allocations: 0.6889 MB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001497/1.147, allocations: 23.94 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.147, allocations: 0 / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.518e-05/1.147, allocations: 12 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/1.147, allocations: 8.766 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/1.148, allocations: 103.9 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/1.148, allocations: 0.6846 MB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.929e-05/1.148, allocations: 4 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/1.148, allocations: 12.86 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/1.148, allocations: 1.594 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03698/1.185, allocations: 0.9991 MB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003056/1.186, allocations: 152.9 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/3.494, allocations: 0 / 1.103 GB, free: 12.91 MB / 0.7136 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)