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.425/2.425, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001039/0.001039, allocations: 194.9 kB / 0.4901 GB, free: 2.219 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.47/1.47, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009257/0.0009256, allocations: 98.31 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 10.56 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2566, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/0.4351, allocations: 155.2 MB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.4355, allocations: 95.92 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.06147/0.497, allocations: 24.43 MB / 1.405 GB, free: 5.766 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.825e-06/0.497, allocations: 0 / 1.405 GB, free: 5.766 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001274/0.4972, allocations: 31.94 kB / 1.405 GB, free: 5.734 MB / 0.9011 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.003805/0.501, allocations: 1.499 MB / 1.406 GB, free: 4.172 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.501, allocations: 8.562 kB / 1.406 GB, free: 4.164 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003808/0.5014, allocations: 172.8 kB / 1.406 GB, free: 3.984 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.5018, allocations: 158.1 kB / 1.407 GB, free: 3.828 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.5032, allocations: 0.762 MB / 1.407 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.965e-05/0.5033, allocations: 86.17 kB / 1.407 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.5034, allocations: 123.9 kB / 1.408 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.5053, allocations: 1.096 MB / 1.409 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.5053, allocations: 4 kB / 1.409 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-05/0.5054, allocations: 44 kB / 1.409 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.5054, allocations: 28 kB / 1.409 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.5071, allocations: 0.8628 MB / 1.41 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00548/0.5126, allocations: 3.698 MB / 1.413 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.5149, allocations: 1.086 MB / 1.414 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-05/0.5149, allocations: 9 kB / 1.414 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008679/0.5158, allocations: 473 kB / 1.415 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=92): time 3.977e-06/0.5158, allocations: 0 / 1.415 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of matching and sorting (n=92): time 0.002209/0.5181, allocations: 1.132 MB / 1.416 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.5182, allocations: 214.6 kB / 1.416 GB, free: 9.93 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.5192, allocations: 0.7833 MB / 1.417 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.989e-05/0.5193, allocations: 45.64 kB / 1.417 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.5197, allocations: 0.5241 MB / 1.417 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.52, allocations: 299.5 kB / 1.418 GB, free: 8.25 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.52, allocations: 24 kB / 1.418 GB, free: 8.227 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5202, allocations: 337.9 kB / 1.418 GB, free: 7.891 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006909/0.5209, allocations: 345.8 kB / 1.418 GB, free: 7.555 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008331/0.5217, allocations: 0.5114 MB / 1.419 GB, free: 6.988 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007621/0.5225, allocations: 416.5 kB / 1.419 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.5225, allocations: 0 / 1.419 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001837/0.5243, allocations: 1.025 MB / 1.42 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002724/0.5246, allocations: 0.65 MB / 1.421 GB, free: 4.836 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5246, allocations: 4 kB / 1.421 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.5247, allocations: 4 kB / 1.421 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007471/0.5254, allocations: 203.7 kB / 1.421 GB, free: 4.629 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.5254, allocations: 4 kB / 1.421 GB, free: 4.625 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007792/0.5262, allocations: 187 kB / 1.421 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.5263, allocations: 35.98 kB / 1.421 GB, free: 4.406 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.5263, allocations: 7.938 kB / 1.421 GB, free: 4.398 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001125/0.5275, allocations: 0.7318 MB / 1.422 GB, free: 3.664 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5275, allocations: 7.984 kB / 1.422 GB, free: 3.656 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.653e-06/0.5275, allocations: 7.938 kB / 1.422 GB, free: 3.648 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/0.528, allocations: 151.8 kB / 1.422 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.528, allocations: 7.938 kB / 1.422 GB, free: 3.492 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/0.5286, allocations: 147.3 kB / 1.422 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.5287, allocations: 35.98 kB / 1.422 GB, free: 3.312 MB / 0.9167 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 () * Number of clocked 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.0005232/0.5292, allocations: 325 kB / 1.423 GB, free: 2.984 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.5293, allocations: 118.5 kB / 1.423 GB, free: 2.867 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.5296, allocations: 119.7 kB / 1.423 GB, free: 2.75 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.5296, allocations: 11.94 kB / 1.423 GB, free: 2.738 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.5296, allocations: 0 / 1.423 GB, free: 2.738 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.5296, allocations: 11.97 kB / 1.423 GB, free: 2.727 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.5323, allocations: 1.89 MB / 1.425 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5323, allocations: 0 / 1.425 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007006/0.533, allocations: 183.7 kB / 1.425 GB, free: 0.6016 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.533, allocations: 4 kB / 1.425 GB, free: 0.5977 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.782e-05/0.5331, allocations: 16 kB / 1.425 GB, free: 0.582 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.5331, allocations: 7.984 kB / 1.425 GB, free: 0.5742 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5331, allocations: 0 / 1.425 GB, free: 0.5742 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6084/1.141, allocations: 1.365 MB / 1.426 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/1.142, allocations: 198.9 kB / 1.426 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/1.142, allocations: 17.59 kB / 1.426 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004949/1.143, allocations: 72 kB / 1.426 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/1.143, allocations: 49.39 kB / 1.427 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.365e-05/1.143, allocations: 27.19 kB / 1.427 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009174/1.144, allocations: 0.6123 MB / 1.427 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.1e-07/1.144, allocations: 0 / 1.427 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001045/1.145, allocations: 403.9 kB / 1.428 GB, free: 179.5 MB / 0.9167 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 () * Number of clocked 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.002471/1.147, allocations: 1.969 MB / 1.429 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002483/1.15, allocations: 1.335 MB / 1.431 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/1.15, allocations: 1.125 kB / 1.431 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007581/1.151, allocations: 407.2 kB / 1.431 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/1.152, allocations: 225.6 kB / 1.431 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004707/1.156, allocations: 4.345 MB / 1.436 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007415/1.157, allocations: 1.111 MB / 1.437 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006589/1.158, allocations: 130.8 kB / 1.437 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006043/1.158, allocations: 478.4 kB / 1.437 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of SimCode: time 1.513e-06/1.158, allocations: 0 / 1.437 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05657/1.215, allocations: 20.36 MB / 1.457 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/1.215, allocations: 195.4 kB / 1.457 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.929, allocations: 0 / 1.457 GB, free: 173.5 MB / 0.9167 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