Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.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.LimPIDInitialDerivativeOutput,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput",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.374/2.374, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001174/0.001174, allocations: 176 kB / 0.4901 GB, free: 2.305 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.532/1.532, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.0008155/0.0008155, allocations: 107.5 kB / 0.9396 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005181/0.0005181, allocations: 14.44 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3052, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.5022, allocations: 154 MB / 1.38 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/0.5026, allocations: 91.92 kB / 1.38 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03144/0.5341, allocations: 8.441 MB / 1.388 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5341, allocations: 0 / 1.388 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.944e-05/0.5342, allocations: 16 kB / 1.388 GB, free: 6.945 MB / 0.8855 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.001569/0.5358, allocations: 0.6858 MB / 1.389 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.5358, allocations: 8.562 kB / 1.389 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.536, allocations: 78.47 kB / 1.389 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.5361, allocations: 51.34 kB / 1.389 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009151/0.5371, allocations: 387.6 kB / 1.389 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.083e-05/0.5371, allocations: 25 kB / 1.389 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.469e-05/0.5372, allocations: 40 kB / 1.389 GB, free: 5.582 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.5383, allocations: 408.7 kB / 1.39 GB, free: 5.16 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.5383, allocations: 4 kB / 1.39 GB, free: 5.156 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.5384, allocations: 16 kB / 1.39 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.5384, allocations: 11.98 kB / 1.39 GB, free: 5.129 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009556/0.5394, allocations: 295.8 kB / 1.39 GB, free: 4.84 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.5423, allocations: 1.434 MB / 1.391 GB, free: 3.34 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.5437, allocations: 351.2 kB / 1.392 GB, free: 2.984 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.5438, allocations: 4 kB / 1.392 GB, free: 2.98 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005383/0.5443, allocations: 182.8 kB / 1.392 GB, free: 2.785 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 2.495e-06/0.5444, allocations: 0 / 1.392 GB, free: 2.785 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26): time 0.001236/0.5456, allocations: 376.9 kB / 1.392 GB, free: 2.41 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.5457, allocations: 132.5 kB / 1.392 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000656/0.5464, allocations: 365.1 kB / 1.393 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.5465, allocations: 29.7 kB / 1.393 GB, free: 1.852 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.5467, allocations: 224.2 kB / 1.393 GB, free: 1.629 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.5468, allocations: 98.67 kB / 1.393 GB, free: 1.531 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.5469, allocations: 8.375 kB / 1.393 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.5471, allocations: 354.7 kB / 1.393 GB, free: 1.168 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.5475, allocations: 104 kB / 1.393 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.5479, allocations: 195.2 kB / 1.394 GB, free: 0.8477 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.5483, allocations: 121.9 kB / 1.394 GB, free: 0.7305 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5484, allocations: 0 / 1.394 GB, free: 0.7305 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009688/0.5493, allocations: 362.1 kB / 1.394 GB, free: 384 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002853/0.5496, allocations: 447.2 kB / 1.395 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.5497, allocations: 4 kB / 1.395 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.5497, allocations: 4.031 kB / 1.395 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.5502, allocations: 71.89 kB / 1.395 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.5502, allocations: 4 kB / 1.395 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/0.5506, allocations: 55.67 kB / 1.395 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.5506, allocations: 11.94 kB / 1.395 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.5506, allocations: 4 kB / 1.395 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000575/0.5512, allocations: 227.8 kB / 1.395 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.5512, allocations: 0 / 1.395 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.5512, allocations: 11.95 kB / 1.395 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.5516, allocations: 51.92 kB / 1.395 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.5516, allocations: 0 / 1.395 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.5519, allocations: 39.67 kB / 1.395 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.5519, allocations: 12 kB / 1.395 GB, free: 15.41 MB / 0.9011 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002773/0.5522, allocations: 237.2 kB / 1.395 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.5523, allocations: 39.53 kB / 1.395 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.5524, allocations: 47.67 kB / 1.395 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.5524, allocations: 3.953 kB / 1.395 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5524, allocations: 4 kB / 1.395 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5524, allocations: 0 / 1.395 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.5545, allocations: 0.9886 MB / 1.396 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5545, allocations: 0 / 1.396 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.5548, allocations: 55.97 kB / 1.396 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.5549, allocations: 4 kB / 1.396 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.5549, allocations: 20.2 kB / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5549, allocations: 4 kB / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5549, allocations: 4 kB / 1.396 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.5564, allocations: 0.7432 MB / 1.397 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.5565, allocations: 128.6 kB / 1.397 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/0.5566, allocations: 12 kB / 1.397 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/0.557, allocations: 27.98 kB / 1.397 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.5571, allocations: 19.91 kB / 1.397 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.5571, allocations: 12 kB / 1.397 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005217/0.5576, allocations: 287.2 kB / 1.398 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5577, allocations: 0 / 1.398 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009361/0.5586, allocations: 135.5 kB / 1.398 GB, free: 12.45 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.002177/0.5608, allocations: 1.999 MB / 1.4 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.562, allocations: 381.1 kB / 1.4 GB, free: 9.984 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.562, allocations: 4.375 kB / 1.4 GB, free: 9.98 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.5623, allocations: 131.8 kB / 1.4 GB, free: 9.852 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008003/0.5632, allocations: 78.83 kB / 1.4 GB, free: 9.777 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006154/0.5693, allocations: 2.958 MB / 1.403 GB, free: 6.711 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.5699, allocations: 0.8232 MB / 1.404 GB, free: 5.859 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003022/0.5702, allocations: 55.36 kB / 1.404 GB, free: 5.805 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.5705, allocations: 143.4 kB / 1.404 GB, free: 5.664 MB / 0.9011 GB Notification: Performance of SimCode: time 9.11e-07/0.5705, allocations: 0 / 1.404 GB, free: 5.664 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.5994, allocations: 7.235 MB / 1.411 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002922/0.5998, allocations: 229.3 kB / 1.411 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/2.902, allocations: 0 / 1.411 GB, free: 14.44 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput_res.mat does not exist to compare? outputFormat=mat