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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 180.8 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.66/1.66, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 102.7 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.461e-05/2.462e-05, allocations: 10.03 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2781, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.873/1.151, allocations: 149.7 MB / 1.352 GB, free: 18.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/1.151, allocations: 75.16 kB / 1.352 GB, free: 18.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01736/1.169, allocations: 6.68 MB / 1.359 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.058e-05/1.169, allocations: 0 / 1.359 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.753e-05/1.169, allocations: 11.47 kB / 1.359 GB, free: 33.38 MB / 0.8386 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.0008635/1.17, allocations: 0.6085 MB / 1.359 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.17, allocations: 8.375 kB / 1.359 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.844e-05/1.17, allocations: 46.56 kB / 1.359 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/1.17, allocations: 327.3 kB / 1.36 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/1.17, allocations: 11.47 kB / 1.36 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/1.17, allocations: 25.38 kB / 1.36 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003454/1.171, allocations: 215.8 kB / 1.36 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/1.171, allocations: 305.8 kB / 1.36 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/1.171, allocations: 0 / 1.36 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/1.171, allocations: 1.828 kB / 1.36 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/1.171, allocations: 11.56 kB / 1.36 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/1.173, allocations: 1.188 MB / 1.361 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/1.173, allocations: 204.2 kB / 1.362 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/1.173, allocations: 127.5 kB / 1.362 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/1.173, allocations: 7.844 kB / 1.362 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/1.174, allocations: 156.8 kB / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.332e-06/1.174, allocations: 0 / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0003396/1.174, allocations: 215 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/1.174, allocations: 136.4 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/1.174, allocations: 250.7 kB / 1.363 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/1.174, allocations: 25.7 kB / 1.363 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/1.174, allocations: 215.7 kB / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/1.174, allocations: 96 kB / 1.363 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/1.174, allocations: 0 / 1.363 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.175, allocations: 340.9 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/1.175, allocations: 92.62 kB / 1.363 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/1.175, allocations: 162 kB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/1.175, allocations: 99.53 kB / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.175, allocations: 3.938 kB / 1.364 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003645/1.175, allocations: 292.6 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001689/1.176, allocations: 451.8 kB / 1.364 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.176, allocations: 3.984 kB / 1.364 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.176, allocations: 3.844 kB / 1.364 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/1.176, allocations: 80.23 kB / 1.364 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.176, allocations: 0 / 1.364 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/1.176, allocations: 51.05 kB / 1.364 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/1.176, allocations: 7.812 kB / 1.364 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.141e-06/1.176, allocations: 3.844 kB / 1.364 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000279/1.176, allocations: 216.4 kB / 1.365 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-06/1.176, allocations: 0 / 1.365 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-06/1.176, allocations: 3.875 kB / 1.365 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/1.177, allocations: 62.2 kB / 1.365 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/1.177, allocations: 7.781 kB / 1.365 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/1.177, allocations: 30.25 kB / 1.365 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/1.177, allocations: 13.44 kB / 1.365 GB, free: 30.42 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001132/1.177, allocations: 111.3 kB / 1.365 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002724/1.177, allocations: 211.4 kB / 1.365 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/1.177, allocations: 31 kB / 1.365 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/1.178, allocations: 235.8 kB / 1.365 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.178, allocations: 3.953 kB / 1.365 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.178, allocations: 3.844 kB / 1.365 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/1.178, allocations: 2.953 kB / 1.365 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/1.179, allocations: 0.9546 MB / 1.366 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.179, allocations: 0 / 1.366 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/1.179, allocations: 65.62 kB / 1.366 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/1.179, allocations: 3.844 kB / 1.366 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/1.179, allocations: 6.422 kB / 1.366 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/1.179, allocations: 7.688 kB / 1.366 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.179, allocations: 3.875 kB / 1.366 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005438/1.18, allocations: 0.7372 MB / 1.367 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/1.18, allocations: 114.5 kB / 1.367 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/1.18, allocations: 3.875 kB / 1.367 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/1.18, allocations: 28.47 kB / 1.367 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/1.18, allocations: 32.56 kB / 1.367 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/1.18, allocations: 13.52 kB / 1.367 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001551/1.181, allocations: 192.6 kB / 1.367 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.181, allocations: 0 / 1.367 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005277/1.181, allocations: 123.4 kB / 1.368 GB, free: 28.88 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.001331/1.182, allocations: 2.248 MB / 1.37 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005003/1.183, allocations: 346.8 kB / 1.37 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.183, allocations: 3.844 kB / 1.37 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/1.183, allocations: 102.5 kB / 1.37 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/1.184, allocations: 56.16 kB / 1.37 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/1.185, allocations: 0.6346 MB / 1.371 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/1.185, allocations: 0.8089 MB / 1.372 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001992/1.186, allocations: 49.19 kB / 1.372 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/1.186, allocations: 124.2 kB / 1.372 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of SimCode: time 4.11e-07/1.186, allocations: 0 / 1.372 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/1.209, allocations: 5.843 MB / 1.377 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/1.209, allocations: 171.3 kB / 1.378 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/3.252, allocations: 0 / 1.378 GB, free: 25.15 MB / 0.8386 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