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.001267/0.001266, allocations: 99.16 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.001571/0.001571, allocations: 177.3 kB / 15.94 MB, free: 220 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.391/1.391, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.361/2.361, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003723, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7945/0.7948, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.001595/0.7965, allocations: 1.39 MB / 0.955 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.7978, allocations: 1.232 MB / 0.9562 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.798, allocations: 6.375 kB / 0.9562 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.425e-05/0.798, allocations: 31.59 kB / 0.9562 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.7982, allocations: 59.38 kB / 0.9563 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.7985, allocations: 116.1 kB / 0.9564 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.7988, allocations: 281.8 kB / 0.9566 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.7991, allocations: 180.6 kB / 0.9568 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.768e-05/0.7992, allocations: 106.9 kB / 0.9569 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.7993, allocations: 137.2 kB / 0.957 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.7994, allocations: 10.72 kB / 0.9571 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.104e-05/0.7994, allocations: 12.56 kB / 0.9571 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.7995, allocations: 59.56 kB / 0.9571 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.7995, allocations: 83.2 kB / 0.9572 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.7998, allocations: 436.6 kB / 0.9576 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.7998, allocations: 1.062 kB / 0.9576 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7998, allocations: 3.938 kB / 0.9576 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.7999, allocations: 0 / 0.9576 GB, free: 4.852 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.00096/0.8008, allocations: 0.6797 MB / 0.9583 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.8009, allocations: 9.469 kB / 0.9583 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.84e-05/0.801, allocations: 79.11 kB / 0.9584 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.998e-05/0.8011, allocations: 56.23 kB / 0.9584 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.8014, allocations: 332.7 kB / 0.9587 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.8015, allocations: 33.06 kB / 0.9588 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.8015, allocations: 38.5 kB / 0.9588 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006225/0.8022, allocations: 410.8 kB / 0.9592 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.8022, allocations: 0 / 0.9592 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.8022, allocations: 23.62 kB / 0.9592 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.8023, allocations: 10.28 kB / 0.9592 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/0.8028, allocations: 299.8 kB / 0.9595 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.8047, allocations: 1.398 MB / 0.9609 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007626/0.8055, allocations: 272.3 kB / 0.9611 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.8055, allocations: 2.094 kB / 0.9611 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.8055, allocations: 36.59 kB / 0.9612 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 2.434e-06/0.8055, allocations: 0 / 0.9612 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0007027/0.8062, allocations: 324.8 kB / 0.9615 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.8063, allocations: 105.8 kB / 0.9616 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.8067, allocations: 401 kB / 0.962 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.8067, allocations: 30.98 kB / 0.962 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.8069, allocations: 249 kB / 0.9622 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.8069, allocations: 83.73 kB / 0.9623 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.8069, allocations: 6.094 kB / 0.9623 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.807, allocations: 350 kB / 0.9627 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.8073, allocations: 110.2 kB / 0.9628 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.8076, allocations: 218.6 kB / 0.963 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.8079, allocations: 133.3 kB / 0.9631 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8079, allocations: 1.062 kB / 0.9631 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006706/0.8086, allocations: 381.4 kB / 0.9635 GB, free: 424 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003342/0.8089, allocations: 0.7944 MB / 0.9642 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.8089, allocations: 2.469 kB / 0.9642 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.809, allocations: 3.688 kB / 0.9643 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.8093, allocations: 69.5 kB / 0.9643 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.8093, allocations: 7.672 kB / 0.9643 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.8095, allocations: 72.52 kB / 0.9644 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.8096, allocations: 9.625 kB / 0.9644 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/0.8096, allocations: 7.25 kB / 0.9644 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004164/0.81, allocations: 260.6 kB / 0.9647 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.81, allocations: 6.828 kB / 0.9647 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.698e-06/0.81, allocations: 7.562 kB / 0.9647 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.8103, allocations: 60.08 kB / 0.9647 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.8103, allocations: 4.688 kB / 0.9647 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.8105, allocations: 48.83 kB / 0.9648 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.8105, allocations: 9.375 kB / 0.9648 GB, free: 15.32 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.0002321/0.8107, allocations: 241.3 kB / 0.965 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.8108, allocations: 31.31 kB / 0.965 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005397/0.8114, allocations: 260.9 kB / 0.9653 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.8114, allocations: 6.219 kB / 0.9653 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.8114, allocations: 0 / 0.9653 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.8114, allocations: 1.344 kB / 0.9653 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.8128, allocations: 0.797 MB / 0.9661 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8128, allocations: 1.188 kB / 0.9661 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.813, allocations: 58 kB / 0.9661 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.813, allocations: 3.562 kB / 0.9661 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.8131, allocations: 7.484 kB / 0.9662 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.8131, allocations: 0 / 0.9662 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8131, allocations: 3.594 kB / 0.9662 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/0.8139, allocations: 0.5329 MB / 0.9667 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.814, allocations: 118.9 kB / 0.9668 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.8141, allocations: 7.656 kB / 0.9668 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.8143, allocations: 23.7 kB / 0.9668 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.8143, allocations: 14.69 kB / 0.9668 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.8144, allocations: 14.69 kB / 0.9668 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003263/0.8147, allocations: 278 kB / 0.9671 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8147, allocations: 4 kB / 0.9671 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005269/0.8152, allocations: 128 kB / 0.9672 GB, free: 13.46 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.001327/0.8166, allocations: 1.432 MB / 0.9686 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009338/0.8175, allocations: 402.1 kB / 0.969 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.8175, allocations: 1.125 kB / 0.969 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.8178, allocations: 104.1 kB / 0.9691 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.8182, allocations: 71.67 kB / 0.9692 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/0.8228, allocations: 3.357 MB / 0.9725 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.8232, allocations: 0.8077 MB / 0.9733 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.8234, allocations: 45.72 kB / 0.9733 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.8236, allocations: 135.8 kB / 0.9734 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of SimCode: time 8.41e-07/0.8236, allocations: 0 / 0.9734 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.8427, allocations: 6.574 MB / 0.9798 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.8429, allocations: 199.2 kB / 0.98 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.599, allocations: 0 / 0.98 GB, free: 4.477 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