Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.LimPID,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",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.571/2.571, allocations: 390.5 MB / 398 MB, free: 11.01 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.001348/0.001349, allocations: 169 kB / 491.2 MB, free: 1.633 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.765/1.765, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001003/0.001003, allocations: 91.94 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.076e-05/2.08e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3041, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.342/1.646, allocations: 154.4 MB / 1.363 GB, free: 17.73 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/1.647, allocations: 90.95 kB / 1.363 GB, free: 17.73 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05609/1.703, allocations: 24.23 MB / 1.387 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.453e-06/1.703, allocations: 0 / 1.387 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.707e-05/1.703, allocations: 27.28 kB / 1.387 GB, free: 27.91 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002144/1.705, allocations: 1.312 MB / 1.388 GB, free: 27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.705, allocations: 7.781 kB / 1.388 GB, free: 27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/1.705, allocations: 158.2 kB / 1.388 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/1.707, allocations: 0.7637 MB / 1.389 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/1.707, allocations: 34.91 kB / 1.389 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/1.707, allocations: 72.34 kB / 1.389 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001043/1.708, allocations: 0.6255 MB / 1.39 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/1.709, allocations: 0.8529 MB / 1.391 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/1.709, allocations: 0 / 1.391 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-05/1.709, allocations: 3.844 kB / 1.391 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/1.709, allocations: 27.06 kB / 1.391 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004256/1.714, allocations: 3.459 MB / 1.394 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/1.715, allocations: 0.807 MB / 1.395 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004522/1.715, allocations: 381.8 kB / 1.395 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.312e-05/1.715, allocations: 19.97 kB / 1.395 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005275/1.716, allocations: 350.1 kB / 1.396 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=92): time 2.695e-06/1.716, allocations: 0 / 1.396 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=92): time 0.0009698/1.717, allocations: 0.6014 MB / 1.396 GB, free: 23.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/1.717, allocations: 221.5 kB / 1.396 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006351/1.718, allocations: 0.5766 MB / 1.397 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/1.718, allocations: 32.52 kB / 1.397 GB, free: 23.35 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/1.718, allocations: 0.5338 MB / 1.398 GB, free: 23.06 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/1.718, allocations: 291.1 kB / 1.398 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/1.718, allocations: 3.719 kB / 1.398 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.718, allocations: 338.9 kB / 1.398 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/1.719, allocations: 244.1 kB / 1.398 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/1.719, allocations: 402.6 kB / 1.399 GB, free: 22.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005368/1.72, allocations: 303.9 kB / 1.399 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/1.72, allocations: 0 / 1.399 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001144/1.721, allocations: 0.7722 MB / 1.4 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003622/1.721, allocations: 0.6495 MB / 1.4 GB, free: 21.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.721, allocations: 7.828 kB / 1.4 GB, free: 21.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/1.721, allocations: 3.844 kB / 1.4 GB, free: 21.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007271/1.722, allocations: 201.2 kB / 1.401 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.722, allocations: 7.859 kB / 1.401 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000619/1.723, allocations: 152 kB / 1.401 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.574e-05/1.723, allocations: 33.61 kB / 1.401 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/1.723, allocations: 3.875 kB / 1.401 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009344/1.724, allocations: 0.6107 MB / 1.401 GB, free: 21.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/1.724, allocations: 4.188 kB / 1.401 GB, free: 21.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/1.724, allocations: 11.73 kB / 1.401 GB, free: 21.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/1.724, allocations: 156.9 kB / 1.402 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/1.724, allocations: 3.812 kB / 1.402 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/1.725, allocations: 109.1 kB / 1.402 GB, free: 21.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/1.725, allocations: 33.14 kB / 1.402 GB, free: 21.15 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 1 * 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.000181/1.725, allocations: 123.9 kB / 1.402 GB, free: 21.04 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008031/1.726, allocations: 0.5954 MB / 1.402 GB, free: 20.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.616e-05/1.726, allocations: 100.5 kB / 1.403 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/1.726, allocations: 98.53 kB / 1.403 GB, free: 20.81 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.726, allocations: 11.53 kB / 1.403 GB, free: 20.81 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.726, allocations: 4 kB / 1.403 GB, free: 20.81 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/1.726, allocations: 3.984 kB / 1.403 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/1.728, allocations: 1.511 MB / 1.404 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.728, allocations: 7.891 kB / 1.404 GB, free: 20.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006541/1.729, allocations: 177.6 kB / 1.404 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/1.729, allocations: 3.875 kB / 1.404 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/1.729, allocations: 7.859 kB / 1.404 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/1.729, allocations: 3.969 kB / 1.404 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.729, allocations: 0 / 1.404 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/1.73, allocations: 1.046 MB / 1.405 GB, free: 19.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/1.73, allocations: 178.6 kB / 1.406 GB, free: 19.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.645e-05/1.73, allocations: 3.625 kB / 1.406 GB, free: 19.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/1.731, allocations: 62.16 kB / 1.406 GB, free: 19.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/1.731, allocations: 51.61 kB / 1.406 GB, free: 19.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/1.731, allocations: 27.27 kB / 1.406 GB, free: 19.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004809/1.731, allocations: 447.3 kB / 1.406 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.731, allocations: 0 / 1.406 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008353/1.732, allocations: 374 kB / 1.406 GB, free: 19.07 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 7 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001697/1.734, allocations: 1.624 MB / 1.408 GB, free: 17.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001446/1.735, allocations: 1.123 MB / 1.409 GB, free: 16.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.735, allocations: 3.938 kB / 1.409 GB, free: 16.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003618/1.736, allocations: 310.7 kB / 1.409 GB, free: 16.72 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009597/1.737, allocations: 205.7 kB / 1.41 GB, free: 16.56 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/1.739, allocations: 1.519 MB / 1.411 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/1.74, allocations: 1.11 MB / 1.412 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0006164/1.74, allocations: 155.2 kB / 1.412 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004793/1.741, allocations: 442 kB / 1.413 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of SimCode: time 7.81e-07/1.741, allocations: 7.938 kB / 1.413 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05447/1.795, allocations: 19.36 MB / 1.432 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/1.796, allocations: 158.4 kB / 1.432 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.925/4.721, allocations: 0 / 1.432 GB, free: 10.38 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat does not exist to compare? outputFormat=mat