Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001112/0.001112, allocations: 174.3 kB / 498.1 MB, free: 5.73 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.421/1.421, allocations: 223.1 MB / 0.7948 GB, free: 17.91 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.0008385/0.0008386, allocations: 92.33 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 13.97 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2454, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1776/0.423, allocations: 150.4 MB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.4234, allocations: 75.89 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01804/0.4414, allocations: 6.734 MB / 1.376 GB, free: 4.707 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4415, allocations: 0 / 1.376 GB, free: 4.707 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.949e-05/0.4415, allocations: 15.94 kB / 1.376 GB, free: 4.691 MB / 0.8698 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.001238/0.4428, allocations: 0.6781 MB / 1.377 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.4428, allocations: 12.03 kB / 1.377 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.443, allocations: 74.53 kB / 1.377 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.4431, allocations: 47.39 kB / 1.377 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.4436, allocations: 330.2 kB / 1.378 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.4436, allocations: 29 kB / 1.378 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.4437, allocations: 40 kB / 1.378 GB, free: 3.395 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.4444, allocations: 391 kB / 1.378 GB, free: 3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4444, allocations: 8 kB / 1.378 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.4445, allocations: 12 kB / 1.378 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.4445, allocations: 12 kB / 1.378 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005905/0.4451, allocations: 291.8 kB / 1.378 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.4473, allocations: 1.293 MB / 1.38 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006293/0.4479, allocations: 287.6 kB / 1.38 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.448, allocations: 4.219 kB / 1.38 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003761/0.4483, allocations: 194 kB / 1.38 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=28): time 2.074e-06/0.4484, allocations: 0 / 1.38 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28): time 0.0008008/0.4492, allocations: 390.7 kB / 1.38 GB, free: 452 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.4492, allocations: 136.5 kB / 1.381 GB, free: 284 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004148/0.4497, allocations: 344.8 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.4497, allocations: 33.7 kB / 1.381 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.4499, allocations: 212.3 kB / 1.381 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.796e-05/0.45, allocations: 102.5 kB / 1.381 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/0.45, allocations: 4 kB / 1.381 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.4502, allocations: 350.8 kB / 1.382 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.4505, allocations: 123.9 kB / 1.382 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.4509, allocations: 199.3 kB / 1.382 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.4512, allocations: 133.5 kB / 1.382 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4512, allocations: 0 / 1.382 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007745/0.452, allocations: 382.1 kB / 1.382 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002101/0.4522, allocations: 453 kB / 1.383 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4522, allocations: 0 / 1.383 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.4523, allocations: 4 kB / 1.383 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.4526, allocations: 71.89 kB / 1.383 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.4526, allocations: 4 kB / 1.383 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.4529, allocations: 59.59 kB / 1.383 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.4529, allocations: 19.95 kB / 1.383 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.4529, allocations: 9.812 kB / 1.383 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000479/0.4534, allocations: 248.5 kB / 1.383 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.4534, allocations: 4 kB / 1.383 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4535, allocations: 8.047 kB / 1.383 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.4537, allocations: 63.91 kB / 1.383 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.4537, allocations: 4 kB / 1.383 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.4539, allocations: 39.67 kB / 1.383 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.4539, allocations: 11.94 kB / 1.383 GB, free: 13.36 MB / 0.8855 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 (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.0002003/0.4542, allocations: 233.1 kB / 1.384 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.4542, allocations: 39.52 kB / 1.384 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000599/0.4548, allocations: 305 kB / 1.384 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.4548, allocations: 15.89 kB / 1.384 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4548, allocations: 0 / 1.384 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4549, allocations: 3.984 kB / 1.384 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.4565, allocations: 1.086 MB / 1.385 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-06/0.4565, allocations: 4 kB / 1.385 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.4568, allocations: 68.3 kB / 1.385 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.4568, allocations: 8 kB / 1.385 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.4568, allocations: 12 kB / 1.385 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.4568, allocations: 4 kB / 1.385 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.4568, allocations: 7.938 kB / 1.385 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009656/0.4578, allocations: 0.8269 MB / 1.386 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.4579, allocations: 128.8 kB / 1.386 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.458, allocations: 11.95 kB / 1.386 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.4582, allocations: 35.97 kB / 1.386 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.4583, allocations: 27.91 kB / 1.386 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.4583, allocations: 8 kB / 1.386 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002968/0.4586, allocations: 283.1 kB / 1.386 GB, free: 10 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4586, allocations: 0 / 1.386 GB, free: 10 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005445/0.4592, allocations: 123.6 kB / 1.386 GB, free: 9.883 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (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.001658/0.4608, allocations: 2.365 MB / 1.389 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000855/0.4617, allocations: 429.6 kB / 1.389 GB, free: 6.977 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4617, allocations: 4 kB / 1.389 GB, free: 6.973 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.462, allocations: 140.1 kB / 1.389 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.4624, allocations: 76.56 kB / 1.389 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.4664, allocations: 2.883 MB / 1.392 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.4667, allocations: 0.808 MB / 1.393 GB, free: 2.934 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001854/0.4669, allocations: 43.27 kB / 1.393 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.4671, allocations: 134.9 kB / 1.393 GB, free: 2.762 MB / 0.8855 GB Notification: Performance of SimCode: time 3.31e-07/0.4671, allocations: 0 / 1.393 GB, free: 2.762 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.4876, allocations: 6.818 MB / 1.4 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.4879, allocations: 217.8 kB / 1.4 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/2.546, allocations: 7 kB / 1.4 GB, free: 11.89 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat does not exist to compare? outputFormat=mat