Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007005/0.0007005, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009008/0.0009009, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003563, allocations: 12 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8532/0.8536, allocations: 142.3 MB / 0.9539 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.001683/0.8553, allocations: 1.382 MB / 0.9552 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.8566, allocations: 1.229 MB / 0.9564 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.8568, allocations: 6.969 kB / 0.9564 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.857, allocations: 53.2 kB / 0.9565 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.8571, allocations: 26.67 kB / 0.9565 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.8574, allocations: 114 kB / 0.9566 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.8578, allocations: 422.3 kB / 0.957 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.8581, allocations: 180.8 kB / 0.9572 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.8582, allocations: 113.8 kB / 0.9573 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.8583, allocations: 128.5 kB / 0.9574 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.8584, allocations: 11.94 kB / 0.9574 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.991e-05/0.8584, allocations: 17.31 kB / 0.9574 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.8585, allocations: 62.5 kB / 0.9575 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.8585, allocations: 84.23 kB / 0.9576 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.8588, allocations: 439.1 kB / 0.958 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8589, allocations: 5.188 kB / 0.958 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.512e-06/0.8589, allocations: 0 / 0.958 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.8589, allocations: 0 / 0.958 GB, free: 4.859 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.0009052/0.8598, allocations: 0.68 MB / 0.9587 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.8598, allocations: 9.969 kB / 0.9587 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.843e-05/0.8599, allocations: 79.05 kB / 0.9588 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.86, allocations: 59.52 kB / 0.9588 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.8604, allocations: 333 kB / 0.9591 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.8604, allocations: 33.94 kB / 0.9592 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.8605, allocations: 38.72 kB / 0.9592 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006179/0.8611, allocations: 412.2 kB / 0.9596 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.8611, allocations: 0 / 0.9596 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.8611, allocations: 16.12 kB / 0.9596 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.8612, allocations: 13.56 kB / 0.9596 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.8617, allocations: 304.1 kB / 0.9599 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.8634, allocations: 1.394 MB / 0.9613 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/0.8642, allocations: 279.3 kB / 0.9615 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.8644, allocations: 121.7 kB / 0.9617 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.8645, allocations: 10.27 kB / 0.9617 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.8645, allocations: 35.81 kB / 0.9617 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.412e-06/0.8645, allocations: 0.9688 kB / 0.9617 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0006653/0.8652, allocations: 315.4 kB / 0.962 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.8652, allocations: 105.4 kB / 0.9621 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.8656, allocations: 400.7 kB / 0.9625 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.8657, allocations: 32.2 kB / 0.9625 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.8658, allocations: 255.6 kB / 0.9628 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.8658, allocations: 76.28 kB / 0.9628 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/0.8658, allocations: 5.031 kB / 0.9628 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.8659, allocations: 350.8 kB / 0.9632 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.8662, allocations: 114.2 kB / 0.9633 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.8665, allocations: 216.5 kB / 0.9635 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.8668, allocations: 135.5 kB / 0.9636 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.8668, allocations: 2.656 kB / 0.9636 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006012/0.8674, allocations: 376.2 kB / 0.964 GB, free: 364 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.399e-05/0.8675, allocations: 150.5 kB / 0.9641 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.8675, allocations: 2.469 kB / 0.9641 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.8675, allocations: 7.484 kB / 0.9641 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.8678, allocations: 85.3 kB / 0.9642 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.8678, allocations: 3.875 kB / 0.9642 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.8681, allocations: 60.42 kB / 0.9643 GB, free: 128 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.8681, allocations: 17.95 kB / 0.9643 GB, free: 120 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.8681, allocations: 7.219 kB / 0.9643 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004181/0.8686, allocations: 257.7 kB / 0.9645 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.8686, allocations: 1.344 kB / 0.9645 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.551e-06/0.8686, allocations: 4.906 kB / 0.9645 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.8688, allocations: 59.61 kB / 0.9646 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.8688, allocations: 4.031 kB / 0.9646 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.869, allocations: 42.17 kB / 0.9646 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.869, allocations: 12.38 kB / 0.9647 GB, free: 15.95 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0002226/0.8693, allocations: 237 kB / 0.9649 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.8693, allocations: 40.02 kB / 0.9649 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000504/0.8698, allocations: 258.7 kB / 0.9652 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.8699, allocations: 2 kB / 0.9652 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8699, allocations: 0 / 0.9652 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.8699, allocations: 4.984 kB / 0.9652 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.8711, allocations: 0.7971 MB / 0.966 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.8712, allocations: 1.031 kB / 0.966 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.8714, allocations: 51.78 kB / 0.966 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.8714, allocations: 2.656 kB / 0.966 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.8714, allocations: 10.95 kB / 0.966 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.8714, allocations: 2.531 kB / 0.966 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8714, allocations: 2.5 kB / 0.966 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007285/0.8721, allocations: 493.6 kB / 0.9665 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.497e-05/0.8722, allocations: 119.1 kB / 0.9666 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.8723, allocations: 6.875 kB / 0.9666 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.8725, allocations: 24.67 kB / 0.9666 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.8725, allocations: 15.11 kB / 0.9667 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.8725, allocations: 17.14 kB / 0.9667 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003247/0.8729, allocations: 283.3 kB / 0.9669 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8729, allocations: 0 / 0.9669 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000546/0.8734, allocations: 127.5 kB / 0.9671 GB, free: 14.17 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (20): * Single equations (assignments): 20 * 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.001079/0.8745, allocations: 1.025 MB / 0.9681 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008362/0.8754, allocations: 396 kB / 0.9684 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.8754, allocations: 4 kB / 0.9684 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.8756, allocations: 105.9 kB / 0.9685 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.8762, allocations: 69.27 kB / 0.9686 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/0.8804, allocations: 2.158 MB / 0.9707 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.8808, allocations: 0.7941 MB / 0.9715 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002086/0.881, allocations: 47 kB / 0.9715 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.8812, allocations: 135.2 kB / 0.9717 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of SimCode: time 7.22e-07/0.8812, allocations: 0.9062 kB / 0.9717 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.9002, allocations: 6.597 MB / 0.9781 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/0.9004, allocations: 201.6 kB / 0.9783 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.754, allocations: 3.938 kB / 0.9783 GB, free: 6.594 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat does not exist to compare? outputFormat=mat