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.001039/0.00104, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001311/0.001311, allocations: 168.7 kB / 15.95 MB, free: 204 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.548/1.548, allocations: 223.2 MB / 240 MB, free: 5.414 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.422/2.422, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003492, allocations: 12 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7913/0.7916, allocations: 142.3 MB / 0.9539 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.001717/0.7934, allocations: 1.385 MB / 0.9552 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.7947, allocations: 1.218 MB / 0.9564 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.7949, allocations: 7.656 kB / 0.9564 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.7951, allocations: 52.14 kB / 0.9565 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.7952, allocations: 35.41 kB / 0.9565 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.7955, allocations: 112.9 kB / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003582/0.7959, allocations: 421 kB / 0.957 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.7962, allocations: 172 kB / 0.9572 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.7963, allocations: 114.2 kB / 0.9573 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.7964, allocations: 130.4 kB / 0.9574 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.7965, allocations: 11.59 kB / 0.9574 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.85e-05/0.7965, allocations: 11.66 kB / 0.9574 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.7966, allocations: 59.66 kB / 0.9575 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.39e-05/0.7966, allocations: 83.86 kB / 0.9576 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.7969, allocations: 436.9 kB / 0.958 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.944e-06/0.7969, allocations: 3.938 kB / 0.958 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7969, allocations: 1.031 kB / 0.958 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.7969, allocations: 0 / 0.958 GB, free: 4.797 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.0009108/0.7979, allocations: 0.6659 MB / 0.9586 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.7979, allocations: 9.688 kB / 0.9587 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.666e-05/0.798, allocations: 78.58 kB / 0.9587 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.794e-05/0.7981, allocations: 53.7 kB / 0.9588 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.7984, allocations: 317.4 kB / 0.9591 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.7985, allocations: 29.5 kB / 0.9591 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.7985, allocations: 41.22 kB / 0.9592 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006245/0.7992, allocations: 396.3 kB / 0.9595 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.7992, allocations: 0 / 0.9595 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.7993, allocations: 20.06 kB / 0.9595 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.7993, allocations: 12.23 kB / 0.9596 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005364/0.7998, allocations: 292.6 kB / 0.9598 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.8017, allocations: 1.366 MB / 0.9612 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007879/0.8025, allocations: 281.5 kB / 0.9614 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.8028, allocations: 122.7 kB / 0.9616 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.8028, allocations: 7.047 kB / 0.9616 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.8029, allocations: 32.62 kB / 0.9616 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.8029, allocations: 5 kB / 0.9616 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.000644/0.8035, allocations: 332.9 kB / 0.9619 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.8036, allocations: 105.8 kB / 0.962 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.8039, allocations: 399.9 kB / 0.9624 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.804, allocations: 35.03 kB / 0.9624 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.8041, allocations: 230.6 kB / 0.9627 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.8041, allocations: 84.52 kB / 0.9627 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.8041, allocations: 9.094 kB / 0.9627 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.03e-05/0.8042, allocations: 347.6 kB / 0.9631 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.8045, allocations: 115.4 kB / 0.9632 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.8048, allocations: 203.1 kB / 0.9634 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.805, allocations: 139.8 kB / 0.9635 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8051, allocations: 0 / 0.9635 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006544/0.8057, allocations: 381.3 kB / 0.9639 GB, free: 388 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.404e-05/0.8058, allocations: 138 kB / 0.964 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.8058, allocations: 5.719 kB / 0.964 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.8058, allocations: 11.03 kB / 0.964 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.8061, allocations: 73.98 kB / 0.9641 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.8061, allocations: 3.656 kB / 0.9641 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.8064, allocations: 59.53 kB / 0.9642 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.8064, allocations: 14.03 kB / 0.9642 GB, free: 168 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.751e-06/0.8064, allocations: 2.5 kB / 0.9642 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004265/0.8068, allocations: 258.9 kB / 0.9644 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-06/0.8068, allocations: 2.5 kB / 0.9644 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-06/0.8069, allocations: 2.688 kB / 0.9644 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.8071, allocations: 68.94 kB / 0.9645 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.8071, allocations: 2.469 kB / 0.9645 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.8073, allocations: 54.34 kB / 0.9645 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.8073, allocations: 8.688 kB / 0.9646 GB, free: 15.98 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.0002032/0.8076, allocations: 242.9 kB / 0.9648 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.8076, allocations: 31.44 kB / 0.9648 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005333/0.8082, allocations: 265.5 kB / 0.9651 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.8082, allocations: 3.781 kB / 0.9651 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.8082, allocations: 0 / 0.9651 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.8082, allocations: 3.984 kB / 0.9651 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.8096, allocations: 0.8641 MB / 0.9659 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.8097, allocations: 6.031 kB / 0.9659 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.8099, allocations: 58.53 kB / 0.966 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.8099, allocations: 7.484 kB / 0.966 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.8099, allocations: 4.125 kB / 0.966 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.8099, allocations: 3.469 kB / 0.966 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.8099, allocations: 2.156 kB / 0.966 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007788/0.8107, allocations: 0.5001 MB / 0.9665 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.8108, allocations: 120 kB / 0.9666 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.8109, allocations: 11.73 kB / 0.9666 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.8111, allocations: 28.45 kB / 0.9666 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.8111, allocations: 16.05 kB / 0.9667 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.8111, allocations: 10.38 kB / 0.9667 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003265/0.8115, allocations: 282 kB / 0.9669 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8115, allocations: 4 kB / 0.9669 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005053/0.812, allocations: 126 kB / 0.9671 GB, free: 14.12 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.00102/0.813, allocations: 1.043 MB / 0.9681 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008811/0.8139, allocations: 419.5 kB / 0.9685 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8139, allocations: 5.281 kB / 0.9685 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.8142, allocations: 107.6 kB / 0.9686 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.8147, allocations: 85.16 kB / 0.9687 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.8183, allocations: 2.168 MB / 0.9708 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.8187, allocations: 0.7922 MB / 0.9716 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001817/0.8189, allocations: 42.95 kB / 0.9716 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.819, allocations: 131.1 kB / 0.9717 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of SimCode: time 2.064e-06/0.8191, allocations: 0 / 0.9717 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.8369, allocations: 6.673 MB / 0.9782 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.8371, allocations: 220.4 kB / 0.9784 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.718, allocations: 0 / 0.9784 GB, free: 6.5 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