Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_latest_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_latest_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/Buildings 10.0.0-master/package.mo): time 2.217/2.217, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001199/0.0012, allocations: 173 kB / 496.1 MB, free: 12.91 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 221.3 MB / 0.7915 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000937/0.0009367, allocations: 84.03 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.045e-05/4.055e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2845, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8658/1.15, allocations: 153.9 MB / 1.369 GB, free: 180 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/1.151, allocations: 89.48 kB / 1.369 GB, free: 124 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02019/1.171, allocations: 8.117 MB / 1.377 GB, free: 9.207 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.242e-06/1.171, allocations: 0 / 1.377 GB, free: 9.207 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.41e-05/1.171, allocations: 8 kB / 1.377 GB, free: 9.199 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00104/1.172, allocations: 0.6344 MB / 1.378 GB, free: 8.551 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.172, allocations: 8.031 kB / 1.378 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/1.172, allocations: 81.95 kB / 1.378 GB, free: 8.477 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/1.172, allocations: 55.34 kB / 1.378 GB, free: 8.422 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000597/1.173, allocations: 374.1 kB / 1.378 GB, free: 8.062 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/1.173, allocations: 27.06 kB / 1.378 GB, free: 8.043 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/1.173, allocations: 42.06 kB / 1.378 GB, free: 8.016 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006271/1.174, allocations: 384.1 kB / 1.379 GB, free: 7.754 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.174, allocations: 3.938 kB / 1.379 GB, free: 7.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/1.174, allocations: 15.25 kB / 1.379 GB, free: 7.746 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/1.174, allocations: 11.94 kB / 1.379 GB, free: 7.734 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/1.174, allocations: 246.8 kB / 1.379 GB, free: 7.578 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/1.176, allocations: 1.321 MB / 1.38 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/1.177, allocations: 281.6 kB / 1.381 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/1.177, allocations: 131.4 kB / 1.381 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/1.177, allocations: 0 / 1.381 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/1.177, allocations: 164.8 kB / 1.381 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/1.177, allocations: 0 / 1.381 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0004429/1.178, allocations: 241.4 kB / 1.381 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/1.178, allocations: 136.5 kB / 1.381 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/1.178, allocations: 357.4 kB / 1.382 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/1.178, allocations: 29.27 kB / 1.382 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/1.179, allocations: 234 kB / 1.382 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.453e-05/1.179, allocations: 96.39 kB / 1.382 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/1.179, allocations: 6.812 kB / 1.382 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.179, allocations: 354.4 kB / 1.382 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/1.179, allocations: 76.75 kB / 1.382 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/1.179, allocations: 160.3 kB / 1.382 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/1.179, allocations: 107.8 kB / 1.383 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.179, allocations: 0 / 1.383 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004573/1.18, allocations: 302.9 kB / 1.383 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002721/1.18, allocations: 0.5343 MB / 1.383 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.18, allocations: 4 kB / 1.383 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.18, allocations: 4.047 kB / 1.383 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/1.18, allocations: 71.89 kB / 1.383 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/1.18, allocations: 3.938 kB / 1.383 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/1.181, allocations: 62.59 kB / 1.384 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/1.181, allocations: 8 kB / 1.384 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/1.181, allocations: 4 kB / 1.384 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003458/1.181, allocations: 228.6 kB / 1.384 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-06/1.181, allocations: 0 / 1.384 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-06/1.181, allocations: 4 kB / 1.384 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/1.181, allocations: 58.91 kB / 1.384 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.181, allocations: 4 kB / 1.384 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/1.182, allocations: 43.3 kB / 1.384 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/1.182, allocations: 11.81 kB / 1.384 GB, free: 3.336 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * 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.0001018/1.182, allocations: 120.1 kB / 1.384 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/1.182, allocations: 47.38 kB / 1.384 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.972e-05/1.182, allocations: 40.98 kB / 1.384 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/1.182, allocations: 7.938 kB / 1.384 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.182, allocations: 0 / 1.384 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/1.182, allocations: 3.984 kB / 1.384 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/1.183, allocations: 0.9467 MB / 1.385 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.183, allocations: 0 / 1.385 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/1.183, allocations: 59.91 kB / 1.385 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/1.183, allocations: 4 kB / 1.385 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/1.183, allocations: 15.8 kB / 1.385 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/1.183, allocations: 11.89 kB / 1.385 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/1.183, allocations: 0 / 1.385 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/1.184, allocations: 0.6913 MB / 1.386 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/1.184, allocations: 127.3 kB / 1.386 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/1.184, allocations: 11.55 kB / 1.386 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/1.185, allocations: 23.23 kB / 1.386 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/1.185, allocations: 31.5 kB / 1.386 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/1.185, allocations: 11.98 kB / 1.386 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002833/1.185, allocations: 287.8 kB / 1.386 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.185, allocations: 0 / 1.386 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005159/1.185, allocations: 129.1 kB / 1.386 GB, free: 1.012 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$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.001597/1.187, allocations: 1.928 MB / 1.388 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006522/1.188, allocations: 352.4 kB / 1.389 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.188, allocations: 0 / 1.389 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/1.188, allocations: 108.2 kB / 1.389 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005901/1.189, allocations: 82.98 kB / 1.389 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/1.19, allocations: 0.6687 MB / 1.389 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/1.191, allocations: 0.824 MB / 1.39 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002779/1.191, allocations: 59.23 kB / 1.39 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/1.191, allocations: 148.9 kB / 1.39 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/1.191, allocations: 0 / 1.39 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/1.219, allocations: 7.658 MB / 1.398 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/1.219, allocations: 187 kB / 1.398 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/3.355, allocations: 0 / 1.398 GB, free: 5.461 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat does not exist to compare? outputFormat=mat