Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.225/2.225, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 187.1 kB / 491.2 MB, free: 1.582 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.5 MB / 0.7868 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009052/0.0009053, allocations: 87.89 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.446e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3138, allocations: 143 MB / 1.212 GB, free: 39.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/1.418, allocations: 150.5 MB / 1.359 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/1.418, allocations: 71.28 kB / 1.359 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01838/1.437, allocations: 6.678 MB / 1.366 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.354e-06/1.437, allocations: 0 / 1.366 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.042e-05/1.437, allocations: 7.688 kB / 1.366 GB, free: 32.91 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001208/1.438, allocations: 0.6084 MB / 1.367 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/1.438, allocations: 11.56 kB / 1.367 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/1.438, allocations: 50.55 kB / 1.367 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006122/1.439, allocations: 325.9 kB / 1.367 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/1.439, allocations: 15.53 kB / 1.367 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-05/1.439, allocations: 23.22 kB / 1.367 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004775/1.44, allocations: 216.8 kB / 1.367 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005443/1.44, allocations: 300.8 kB / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/1.44, allocations: 0 / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/1.44, allocations: 3.812 kB / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/1.44, allocations: 15.5 kB / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/1.442, allocations: 1.187 MB / 1.369 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/1.443, allocations: 202.3 kB / 1.369 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/1.443, allocations: 127.6 kB / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/1.443, allocations: 240 / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/1.443, allocations: 161.3 kB / 1.369 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.763e-06/1.443, allocations: 0 / 1.369 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0004005/1.444, allocations: 217.3 kB / 1.369 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/1.444, allocations: 140 kB / 1.369 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/1.444, allocations: 246.6 kB / 1.37 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/1.444, allocations: 25.7 kB / 1.37 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/1.444, allocations: 219.2 kB / 1.37 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/1.444, allocations: 96 kB / 1.37 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/1.444, allocations: 0 / 1.37 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.445, allocations: 347.3 kB / 1.37 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/1.445, allocations: 90.25 kB / 1.37 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/1.445, allocations: 161.3 kB / 1.371 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/1.445, allocations: 100.5 kB / 1.371 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.445, allocations: 3.844 kB / 1.371 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003999/1.445, allocations: 287.7 kB / 1.371 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/1.446, allocations: 453.4 kB / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.446, allocations: 0 / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/1.446, allocations: 3.625 kB / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/1.446, allocations: 72.67 kB / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/1.446, allocations: 3.844 kB / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/1.446, allocations: 45.42 kB / 1.372 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/1.446, allocations: 13.11 kB / 1.372 GB, free: 30 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/1.446, allocations: 3.844 kB / 1.372 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003114/1.447, allocations: 217.3 kB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/1.447, allocations: 0 / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.702e-06/1.447, allocations: 7.906 kB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/1.447, allocations: 61.8 kB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.447, allocations: 7.766 kB / 1.372 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/1.447, allocations: 31.69 kB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/1.447, allocations: 7.688 kB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001119/1.447, allocations: 109.4 kB / 1.372 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002897/1.448, allocations: 218 kB / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/1.448, allocations: 31.28 kB / 1.372 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/1.448, allocations: 230.6 kB / 1.372 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.448, allocations: 3.875 kB / 1.372 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.448, allocations: 0 / 1.372 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/1.448, allocations: 2.953 kB / 1.372 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/1.449, allocations: 0.9601 MB / 1.373 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.449, allocations: 3.875 kB / 1.373 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/1.45, allocations: 62.25 kB / 1.373 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/1.45, allocations: 7.688 kB / 1.373 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/1.45, allocations: 3.875 kB / 1.373 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/1.45, allocations: 10.94 kB / 1.373 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.45, allocations: 8.062 kB / 1.373 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/1.45, allocations: 0.7342 MB / 1.374 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/1.45, allocations: 112.8 kB / 1.374 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/1.45, allocations: 11.42 kB / 1.374 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/1.451, allocations: 21.05 kB / 1.374 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/1.451, allocations: 28.75 kB / 1.374 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/1.451, allocations: 18.75 kB / 1.374 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000186/1.451, allocations: 192.9 kB / 1.375 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.5e-07/1.451, allocations: 0 / 1.375 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005384/1.451, allocations: 123 kB / 1.375 GB, free: 28.41 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.001323/1.453, allocations: 2.242 MB / 1.377 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005192/1.453, allocations: 349.6 kB / 1.377 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.453, allocations: 0 / 1.377 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/1.453, allocations: 96.72 kB / 1.377 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/1.454, allocations: 62.08 kB / 1.377 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/1.455, allocations: 0.6339 MB / 1.378 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/1.456, allocations: 0.8073 MB / 1.379 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002338/1.456, allocations: 51.62 kB / 1.379 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/1.456, allocations: 130.6 kB / 1.379 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/1.456, allocations: 3.938 kB / 1.379 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/1.486, allocations: 5.837 MB / 1.385 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/1.487, allocations: 175.4 kB / 1.385 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/3.555, allocations: 4 kB / 1.385 GB, free: 24.67 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat does not exist to compare? outputFormat=mat