Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.0009454/0.0009454, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001017/0.001017, allocations: 177.3 kB / 15.95 MB, free: 216 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.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.369/2.369, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003982, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7756/0.776, allocations: 142.3 MB / 0.9536 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.0033/0.7793, allocations: 2.298 MB / 0.9559 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001865/0.7812, allocations: 0.583 MB / 0.9564 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007348/0.782, allocations: 12.25 kB / 0.9564 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.7821, allocations: 35.58 kB / 0.9565 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.7826, allocations: 82.16 kB / 0.9565 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.7829, allocations: 120.6 kB / 0.9567 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004705/0.7834, allocations: 311.8 kB / 0.957 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003461/0.7838, allocations: 196.5 kB / 0.9571 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.7839, allocations: 111.3 kB / 0.9573 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.7841, allocations: 131.4 kB / 0.9574 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.7841, allocations: 11.34 kB / 0.9574 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.423e-05/0.7841, allocations: 11.12 kB / 0.9574 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.7842, allocations: 61.62 kB / 0.9575 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.678e-05/0.7843, allocations: 89.67 kB / 0.9575 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.7846, allocations: 482.5 kB / 0.958 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.7846, allocations: 4 kB / 0.958 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7847, allocations: 0 / 0.958 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.7847, allocations: 0 / 0.958 GB, free: 4.621 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001055/0.7857, allocations: 0.7042 MB / 0.9587 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.7858, allocations: 9.031 kB / 0.9587 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.238e-05/0.7859, allocations: 83.09 kB / 0.9588 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.786, allocations: 54.33 kB / 0.9588 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.7864, allocations: 356 kB / 0.9592 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.7864, allocations: 29.5 kB / 0.9592 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.412e-05/0.7865, allocations: 43.44 kB / 0.9592 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/0.7873, allocations: 414.8 kB / 0.9596 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.7873, allocations: 0 / 0.9596 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.7873, allocations: 15.94 kB / 0.9597 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.7874, allocations: 10.59 kB / 0.9597 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000655/0.788, allocations: 312.1 kB / 0.96 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.7899, allocations: 1.392 MB / 0.9613 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007393/0.7906, allocations: 296.1 kB / 0.9616 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.7907, allocations: 1.375 kB / 0.9616 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.7907, allocations: 37.17 kB / 0.9616 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.7907, allocations: 0 / 0.9616 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0007355/0.7915, allocations: 330.2 kB / 0.962 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.7915, allocations: 105.5 kB / 0.9621 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/0.792, allocations: 413.1 kB / 0.9625 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.792, allocations: 31.8 kB / 0.9625 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.7921, allocations: 258.1 kB / 0.9627 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.7922, allocations: 76.78 kB / 0.9628 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.7922, allocations: 5.031 kB / 0.9628 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.301e-05/0.7923, allocations: 354.7 kB / 0.9631 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.7925, allocations: 113.7 kB / 0.9633 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.7928, allocations: 212.7 kB / 0.9635 GB, free: 388 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.7931, allocations: 138.4 kB / 0.9636 GB, free: 324 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7931, allocations: 0 / 0.9636 GB, free: 324 kB / 0.7169 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006303/0.7937, allocations: 372.5 kB / 0.9639 GB, free: 132 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003194/0.7941, allocations: 0.7889 MB / 0.9647 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.7941, allocations: 9.797 kB / 0.9647 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.7941, allocations: 8.781 kB / 0.9647 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.7944, allocations: 73.09 kB / 0.9648 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.7944, allocations: 3.312 kB / 0.9648 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.7947, allocations: 68.06 kB / 0.9649 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.7947, allocations: 9.125 kB / 0.9649 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.7947, allocations: 3.156 kB / 0.9649 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003875/0.7951, allocations: 254.2 kB / 0.9651 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.7951, allocations: 6.594 kB / 0.9651 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.958e-06/0.7952, allocations: 2.656 kB / 0.9651 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.7954, allocations: 61.02 kB / 0.9652 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.7954, allocations: 6.344 kB / 0.9652 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.7955, allocations: 41.08 kB / 0.9652 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.7956, allocations: 17.12 kB / 0.9653 GB, free: 15.05 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.noTri.y,limPID.noTri.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.0002144/0.7958, allocations: 237.7 kB / 0.9655 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.7959, allocations: 40.67 kB / 0.9655 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.42e-05/0.7959, allocations: 38.55 kB / 0.9656 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.796, allocations: 6.531 kB / 0.9656 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.796, allocations: 0 / 0.9656 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.796, allocations: 0 / 0.9656 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.7972, allocations: 0.773 MB / 0.9663 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7972, allocations: 1 kB / 0.9663 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.7974, allocations: 43.06 kB / 0.9664 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.7974, allocations: 2.469 kB / 0.9664 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.7975, allocations: 6.812 kB / 0.9664 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.7975, allocations: 1.406 kB / 0.9664 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7975, allocations: 1.312 kB / 0.9664 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007686/0.7982, allocations: 0.4973 MB / 0.9669 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.7984, allocations: 126.9 kB / 0.967 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.7984, allocations: 7 kB / 0.967 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.7986, allocations: 23.95 kB / 0.967 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.7986, allocations: 14.08 kB / 0.967 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.7987, allocations: 13.08 kB / 0.967 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003422/0.799, allocations: 287.6 kB / 0.9673 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.799, allocations: 0 / 0.9673 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005189/0.7995, allocations: 141.8 kB / 0.9674 GB, free: 13.39 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.001071/0.8006, allocations: 1.251 MB / 0.9687 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007812/0.8014, allocations: 401.7 kB / 0.969 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8014, allocations: 1.031 kB / 0.969 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.8016, allocations: 106.2 kB / 0.9691 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.8021, allocations: 70.91 kB / 0.9692 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.8062, allocations: 3.444 MB / 0.9726 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.8066, allocations: 0.8208 MB / 0.9734 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001919/0.8068, allocations: 42.94 kB / 0.9734 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.807, allocations: 143.5 kB / 0.9736 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/0.8071, allocations: 5.281 kB / 0.9736 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.8289, allocations: 7.016 MB / 0.9804 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.8292, allocations: 208.9 kB / 0.9806 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.654, allocations: 0 / 0.9806 GB, free: 4.066 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat does not exist to compare? outputFormat=mat