Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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.IntegratorWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",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.701/2.701, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001557/0.001557, allocations: 182.3 kB / 370.8 MB, free: 10.86 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.207/2.207, 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.001196/0.001195, allocations: 106 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006537/0.0006536, allocations: 17.27 kB / 0.8657 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.232, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9635/1.196, allocations: 138.5 MB / 1.114 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.196, allocations: 68.48 kB / 1.114 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01499/1.211, allocations: 3.296 MB / 1.117 GB, free: 31.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.754e-06/1.211, allocations: 0 / 1.117 GB, free: 31.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.036e-05/1.211, allocations: 0 / 1.117 GB, free: 31.02 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000788/1.212, allocations: 449.1 kB / 1.117 GB, free: 30.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/1.212, allocations: 11.67 kB / 1.117 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.902e-05/1.212, allocations: 48.42 kB / 1.117 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/1.212, allocations: 15.72 kB / 1.117 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/1.212, allocations: 179.7 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/1.212, allocations: 7.688 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/1.212, allocations: 11.31 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/1.213, allocations: 95.97 kB / 1.118 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.213, allocations: 0 / 1.118 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/1.213, allocations: 7.016 kB / 1.118 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.213, allocations: 3.938 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/1.213, allocations: 73.72 kB / 1.118 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/1.214, allocations: 438.1 kB / 1.118 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/1.214, allocations: 47.23 kB / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/1.215, allocations: 7.672 kB / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/1.215, allocations: 112 kB / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 3.687e-06/1.215, allocations: 3.984 kB / 1.118 GB, free: 29.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0007108/1.216, allocations: 161.6 kB / 1.118 GB, free: 29.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/1.216, allocations: 51.41 kB / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/1.216, allocations: 143.2 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/1.216, allocations: 29.45 kB / 1.119 GB, free: 29.69 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/1.216, allocations: 106.8 kB / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/1.216, allocations: 30.38 kB / 1.119 GB, free: 29.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/1.216, allocations: 3.812 kB / 1.119 GB, free: 29.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.216, allocations: 321.3 kB / 1.119 GB, free: 29.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/1.217, allocations: 61.31 kB / 1.119 GB, free: 29.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/1.217, allocations: 137.4 kB / 1.119 GB, free: 29.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/1.217, allocations: 102.3 kB / 1.119 GB, free: 29.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.217, allocations: 0 / 1.119 GB, free: 29.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008672/1.218, allocations: 272.9 kB / 1.12 GB, free: 29.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/1.218, allocations: 40.14 kB / 1.12 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/1.218, allocations: 7.844 kB / 1.12 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/1.218, allocations: 3.969 kB / 1.12 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/1.218, allocations: 28.94 kB / 1.12 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.218, allocations: 3.875 kB / 1.12 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/1.219, allocations: 58.23 kB / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/1.219, allocations: 10.25 kB / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,intDef.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * 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.0001695/1.219, allocations: 129.7 kB / 1.12 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/1.219, allocations: 15.7 kB / 1.12 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/1.219, allocations: 14.97 kB / 1.12 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.219, allocations: 0 / 1.12 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.219, allocations: 0 / 1.12 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.219, allocations: 4 kB / 1.12 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009069/1.22, allocations: 425.7 kB / 1.12 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.22, allocations: 0 / 1.12 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/1.22, allocations: 18.72 kB / 1.12 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/1.22, allocations: 0 / 1.12 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/1.22, allocations: 9.422 kB / 1.12 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.22, allocations: 0 / 1.12 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.22, allocations: 0 / 1.12 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006931/1.221, allocations: 269.6 kB / 1.121 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/1.221, allocations: 96.92 kB / 1.121 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/1.221, allocations: 0 / 1.121 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/1.221, allocations: 13.66 kB / 1.121 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/1.222, allocations: 12.48 kB / 1.121 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/1.222, allocations: 7.781 kB / 1.121 GB, free: 28.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001173/1.222, allocations: 121.8 kB / 1.121 GB, free: 28.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.222, allocations: 0 / 1.121 GB, free: 28.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004789/1.222, allocations: 33.3 kB / 1.121 GB, free: 28.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (intDef.trigger,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001271/1.224, allocations: 0.8252 MB / 1.122 GB, free: 27.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007413/1.224, allocations: 206.4 kB / 1.122 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/1.224, allocations: 0 / 1.122 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/1.225, allocations: 53.5 kB / 1.122 GB, free: 27.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/1.225, allocations: 23.03 kB / 1.122 GB, free: 27.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/1.227, allocations: 2.222 MB / 1.124 GB, free: 25.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/1.228, allocations: 0.709 MB / 1.125 GB, free: 24.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001094/1.228, allocations: 12.38 kB / 1.125 GB, free: 24.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.452e-05/1.228, allocations: 37.52 kB / 1.125 GB, free: 24.59 MB / 0.698 GB Notification: Performance of SimCode: time 1.523e-06/1.228, allocations: 0 / 1.125 GB, free: 24.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/1.251, allocations: 2.878 MB / 1.128 GB, free: 24.32 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/1.251, allocations: 208.4 kB / 1.128 GB, free: 24.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/3.776, allocations: 0 / 1.128 GB, free: 24.08 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)