Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008797/0.0008797, allocations: 100.2 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.0009509/0.000951, allocations: 177.3 kB / 15.94 MB, free: 228 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.355/1.355, allocations: 223.2 MB / 239.9 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.431/2.431, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004129, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7943/0.7947, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.002001/0.7968, allocations: 1.391 MB / 0.955 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.7986, allocations: 1.223 MB / 0.9562 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.7988, allocations: 6.75 kB / 0.9562 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.475e-05/0.7989, allocations: 35.58 kB / 0.9562 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.7991, allocations: 55.33 kB / 0.9563 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.7994, allocations: 115.7 kB / 0.9564 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00037/0.7998, allocations: 282.2 kB / 0.9566 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.8001, allocations: 171.9 kB / 0.9568 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.8002, allocations: 107.8 kB / 0.9569 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.8004, allocations: 134.2 kB / 0.957 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.8005, allocations: 12.47 kB / 0.957 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.554e-05/0.8005, allocations: 11.16 kB / 0.9571 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.8006, allocations: 60.69 kB / 0.9571 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.8006, allocations: 79.23 kB / 0.9572 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.8009, allocations: 424.6 kB / 0.9576 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.8009, allocations: 0 / 0.9576 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.801, allocations: 1.562 kB / 0.9576 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.801, allocations: 0 / 0.9576 GB, free: 4.883 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001031/0.802, allocations: 0.6734 MB / 0.9583 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.8021, allocations: 9.75 kB / 0.9583 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.451e-05/0.8021, allocations: 73.81 kB / 0.9583 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.727e-05/0.8022, allocations: 49.92 kB / 0.9584 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.8026, allocations: 321.4 kB / 0.9587 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.8026, allocations: 37.78 kB / 0.9587 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.8027, allocations: 36.56 kB / 0.9588 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000622/0.8033, allocations: 393.7 kB / 0.9591 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.8034, allocations: 0 / 0.9591 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.8034, allocations: 16.12 kB / 0.9592 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.8034, allocations: 9.625 kB / 0.9592 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000553/0.804, allocations: 295.4 kB / 0.9594 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.8059, allocations: 1.369 MB / 0.9608 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008125/0.8067, allocations: 282 kB / 0.961 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.8067, allocations: 3.938 kB / 0.9611 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.8067, allocations: 40 kB / 0.9611 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.793e-06/0.8068, allocations: 0 / 0.9611 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0007492/0.8075, allocations: 336.5 kB / 0.9614 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.8076, allocations: 105.1 kB / 0.9615 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.808, allocations: 400.1 kB / 0.9619 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.808, allocations: 26.7 kB / 0.9619 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.8082, allocations: 239.2 kB / 0.9621 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.8082, allocations: 80.09 kB / 0.9622 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/0.8082, allocations: 9.031 kB / 0.9622 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.8083, allocations: 347.5 kB / 0.9626 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.8086, allocations: 115.7 kB / 0.9627 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.809, allocations: 202.1 kB / 0.9629 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.8093, allocations: 150.9 kB / 0.963 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.8093, allocations: 1 kB / 0.963 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007589/0.8101, allocations: 377.3 kB / 0.9634 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002039/0.8103, allocations: 0.6292 MB / 0.964 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8103, allocations: 1.375 kB / 0.964 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.8103, allocations: 3.906 kB / 0.964 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.8107, allocations: 77.58 kB / 0.9641 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.8107, allocations: 11.41 kB / 0.9641 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.811, allocations: 55.72 kB / 0.9641 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.811, allocations: 13.44 kB / 0.9641 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.811, allocations: 3.344 kB / 0.9641 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005163/0.8115, allocations: 258.4 kB / 0.9644 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.8116, allocations: 2.562 kB / 0.9644 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/0.8116, allocations: 7.281 kB / 0.9644 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.8118, allocations: 64.28 kB / 0.9645 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.8118, allocations: 6.312 kB / 0.9645 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.812, allocations: 46.45 kB / 0.9645 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.8121, allocations: 8.438 kB / 0.9645 GB, free: 15.61 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0002312/0.8123, allocations: 247.4 kB / 0.9648 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.8124, allocations: 31.88 kB / 0.9648 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005567/0.8129, allocations: 265 kB / 0.965 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.813, allocations: 0 / 0.965 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.813, allocations: 3.938 kB / 0.965 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.813, allocations: 11.48 kB / 0.9651 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.8144, allocations: 0.8574 MB / 0.9659 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.8144, allocations: 3 kB / 0.9659 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.8147, allocations: 53.94 kB / 0.9659 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-06/0.8147, allocations: 6.922 kB / 0.966 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.8147, allocations: 8.062 kB / 0.966 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.8147, allocations: 3.312 kB / 0.966 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8147, allocations: 7.031 kB / 0.966 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009395/0.8157, allocations: 0.5885 MB / 0.9665 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.8158, allocations: 116.5 kB / 0.9667 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.8158, allocations: 12.3 kB / 0.9667 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.8161, allocations: 23.77 kB / 0.9667 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.8161, allocations: 23.69 kB / 0.9667 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.8161, allocations: 11.69 kB / 0.9667 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003665/0.8165, allocations: 281.9 kB / 0.967 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8165, allocations: 0 / 0.967 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005639/0.8171, allocations: 124.6 kB / 0.9671 GB, free: 13.61 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * 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 (21): * Single equations (assignments): 21 * 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.001415/0.8185, allocations: 1.695 MB / 0.9688 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009444/0.8195, allocations: 415.4 kB / 0.9692 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.8195, allocations: 0.9062 kB / 0.9692 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.8197, allocations: 110.8 kB / 0.9693 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.8203, allocations: 66.64 kB / 0.9693 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.8246, allocations: 3.074 MB / 0.9723 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.825, allocations: 0.8007 MB / 0.9731 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000204/0.8253, allocations: 50.7 kB / 0.9732 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.8255, allocations: 132.3 kB / 0.9733 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.8255, allocations: 3.938 kB / 0.9733 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.8455, allocations: 6.64 MB / 0.9798 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.8457, allocations: 218.5 kB / 0.98 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.679, allocations: 0 / 0.98 GB, free: 4.582 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat does not exist to compare? outputFormat=mat