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.206/2.206, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001136/0.001136, allocations: 184.9 kB / 496.1 MB, free: 12.87 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.444/1.444, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.0009217/0.0009218, allocations: 95.95 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.627e-05/3.631e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2792, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8895/1.169, allocations: 155.1 MB / 1.37 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/1.169, allocations: 86.06 kB / 1.37 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.05839/1.227, allocations: 24.38 MB / 1.394 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.013e-06/1.228, allocations: 4 kB / 1.394 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.246e-05/1.228, allocations: 32 kB / 1.394 GB, free: 10.16 MB / 0.8542 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.002198/1.23, allocations: 1.308 MB / 1.396 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/1.23, allocations: 8.031 kB / 1.396 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/1.23, allocations: 161.1 kB / 1.396 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/1.23, allocations: 154.1 kB / 1.396 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/1.232, allocations: 0.7604 MB / 1.397 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.389e-05/1.232, allocations: 84.67 kB / 1.397 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/1.232, allocations: 124.8 kB / 1.397 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/1.233, allocations: 1.009 MB / 1.398 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/1.233, allocations: 3.938 kB / 1.398 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.211e-05/1.233, allocations: 50.44 kB / 1.398 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/1.233, allocations: 24 kB / 1.398 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/1.235, allocations: 0.6901 MB / 1.399 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004447/1.239, allocations: 3.702 MB / 1.402 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/1.24, allocations: 0.8527 MB / 1.403 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/1.241, allocations: 416.3 kB / 1.403 GB, free: 2.723 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-05/1.241, allocations: 16.77 kB / 1.403 GB, free: 2.707 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005794/1.242, allocations: 369 kB / 1.404 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=92): time 3.626e-06/1.242, allocations: 0 / 1.404 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of matching and sorting (n=92): time 0.001164/1.243, allocations: 0.6726 MB / 1.404 GB, free: 1.938 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/1.243, allocations: 214.4 kB / 1.405 GB, free: 1.68 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009346/1.244, allocations: 0.7737 MB / 1.405 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.018e-05/1.244, allocations: 46.77 kB / 1.405 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/1.244, allocations: 0.5149 MB / 1.406 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/1.245, allocations: 305.2 kB / 1.406 GB, free: 484 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/1.245, allocations: 24.12 kB / 1.406 GB, free: 476 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.245, allocations: 342.7 kB / 1.407 GB, free: 140 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/1.245, allocations: 248.9 kB / 1.407 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005389/1.246, allocations: 435.6 kB / 1.407 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/1.246, allocations: 325.4 kB / 1.408 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.246, allocations: 0 / 1.408 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001297/1.248, allocations: 0.8594 MB / 1.408 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003242/1.248, allocations: 0.6532 MB / 1.409 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.248, allocations: 0 / 1.409 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/1.248, allocations: 8 kB / 1.409 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000765/1.249, allocations: 202.1 kB / 1.409 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/1.249, allocations: 7.953 kB / 1.409 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/1.249, allocations: 194.8 kB / 1.409 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/1.25, allocations: 34.61 kB / 1.409 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/1.25, allocations: 5.562 kB / 1.409 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/1.251, allocations: 0.7064 MB / 1.41 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.251, allocations: 7.938 kB / 1.41 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/1.251, allocations: 11.98 kB / 1.41 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/1.251, allocations: 159.6 kB / 1.41 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.251, allocations: 4 kB / 1.41 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/1.252, allocations: 144.2 kB / 1.41 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/1.252, allocations: 34.42 kB / 1.41 GB, free: 12.85 MB / 0.8698 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.0001686/1.252, allocations: 155.1 kB / 1.411 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/1.252, allocations: 114.5 kB / 1.411 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/1.252, allocations: 122.1 kB / 1.411 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/1.252, allocations: 12 kB / 1.411 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.252, allocations: 11.88 kB / 1.411 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/1.252, allocations: 3.984 kB / 1.411 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/1.254, allocations: 1.722 MB / 1.413 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.254, allocations: 0 / 1.413 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/1.255, allocations: 174.2 kB / 1.413 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/1.255, allocations: 4 kB / 1.413 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/1.255, allocations: 23.67 kB / 1.413 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/1.255, allocations: 0 / 1.413 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.255, allocations: 4 kB / 1.413 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/1.257, allocations: 1.123 MB / 1.414 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/1.257, allocations: 198.5 kB / 1.414 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.066e-05/1.257, allocations: 21.61 kB / 1.414 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/1.257, allocations: 74.08 kB / 1.414 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/1.257, allocations: 48.39 kB / 1.414 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/1.257, allocations: 34.73 kB / 1.414 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007227/1.258, allocations: 0.5961 MB / 1.415 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.258, allocations: 0 / 1.415 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009041/1.259, allocations: 401.1 kB / 1.415 GB, free: 9.109 MB / 0.8698 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.001897/1.261, allocations: 1.72 MB / 1.417 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001767/1.263, allocations: 1.196 MB / 1.418 GB, free: 6.145 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.263, allocations: 4 kB / 1.418 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005071/1.263, allocations: 328.3 kB / 1.418 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/1.264, allocations: 238 kB / 1.419 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/1.267, allocations: 1.604 MB / 1.42 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006062/1.268, allocations: 1.115 MB / 1.421 GB, free: 2.797 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006777/1.269, allocations: 184.2 kB / 1.421 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005018/1.269, allocations: 455.3 kB / 1.422 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of SimCode: time 1.383e-06/1.269, allocations: 0 / 1.422 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04143/1.311, allocations: 22.15 MB / 1.443 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/1.311, allocations: 169.2 kB / 1.444 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/3.824, allocations: 4.828 kB / 1.444 GB, free: 12.11 MB / 0.9011 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