Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.3 MB / 405.3 MB, free: 13.38 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: 189 kB / 498.1 MB, free: 5.613 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.539/1.539, allocations: 223.2 MB / 0.7948 GB, free: 17.83 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.001043/0.001043, allocations: 108 kB / 0.9346 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004282/0.0004281, allocations: 11.69 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3032, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/0.4928, allocations: 153.2 MB / 1.373 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/0.4932, allocations: 95.94 kB / 1.373 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02165/0.5149, allocations: 8.445 MB / 1.381 GB, free: 128 kB / 0.8698 GB Notification: Performance of FrontEnd: time 2.375e-06/0.5149, allocations: 3.938 kB / 1.381 GB, free: 124 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.909e-05/0.515, allocations: 11.98 kB / 1.381 GB, free: 112 kB / 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.001505/0.5165, allocations: 0.6935 MB / 1.382 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.5166, allocations: 8.031 kB / 1.382 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.5168, allocations: 74.52 kB / 1.382 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.5169, allocations: 55.44 kB / 1.382 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007926/0.5177, allocations: 379.6 kB / 1.382 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.5178, allocations: 33 kB / 1.382 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.5179, allocations: 36 kB / 1.382 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007873/0.5187, allocations: 400.8 kB / 1.383 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.5187, allocations: 4 kB / 1.383 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/0.5188, allocations: 16 kB / 1.383 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.5188, allocations: 11.94 kB / 1.383 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006393/0.5194, allocations: 291.8 kB / 1.383 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.5217, allocations: 1.442 MB / 1.384 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009827/0.5227, allocations: 357 kB / 1.385 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.5228, allocations: 3.984 kB / 1.385 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004013/0.5232, allocations: 181.4 kB / 1.385 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 2.485e-06/0.5232, allocations: 4 kB / 1.385 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26): time 0.0008602/0.5241, allocations: 375.4 kB / 1.385 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.5242, allocations: 136.5 kB / 1.385 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/0.5246, allocations: 357.2 kB / 1.386 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.5246, allocations: 30.08 kB / 1.386 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.5248, allocations: 232.2 kB / 1.386 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.012e-05/0.5249, allocations: 90.73 kB / 1.386 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/0.5249, allocations: 8 kB / 1.386 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5251, allocations: 358.7 kB / 1.386 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.5253, allocations: 104 kB / 1.386 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.5256, allocations: 179.7 kB / 1.387 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.5258, allocations: 124.9 kB / 1.387 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5259, allocations: 0 / 1.387 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006517/0.5265, allocations: 350.1 kB / 1.387 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002292/0.5268, allocations: 457 kB / 1.387 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5268, allocations: 0 / 1.387 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.5268, allocations: 4 kB / 1.387 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.5271, allocations: 67.91 kB / 1.387 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.5271, allocations: 8 kB / 1.388 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.5273, allocations: 51.66 kB / 1.388 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.5274, allocations: 15.95 kB / 1.388 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.5274, allocations: 4 kB / 1.388 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003453/0.5277, allocations: 216.9 kB / 1.388 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.5278, allocations: 8.094 kB / 1.388 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.5278, allocations: 3.953 kB / 1.388 GB, free: 8.703 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.528, allocations: 55.92 kB / 1.388 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.528, allocations: 7.984 kB / 1.388 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.5282, allocations: 35.69 kB / 1.388 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.5282, allocations: 12 kB / 1.388 GB, free: 8.594 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 (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.0002134/0.5284, allocations: 233 kB / 1.388 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.5285, allocations: 43.44 kB / 1.388 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.216e-05/0.5286, allocations: 47.62 kB / 1.388 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.5286, allocations: 11.98 kB / 1.388 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.5286, allocations: 4 kB / 1.388 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.5286, allocations: 3.984 kB / 1.388 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.5301, allocations: 0.985 MB / 1.389 GB, free: 7.176 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.5301, allocations: 4 kB / 1.389 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.5303, allocations: 55.91 kB / 1.389 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.5304, allocations: 4 kB / 1.389 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.5304, allocations: 8 kB / 1.389 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.5304, allocations: 4.281 kB / 1.389 GB, free: 7.102 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5304, allocations: 11.94 kB / 1.389 GB, free: 7.09 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009221/0.5313, allocations: 0.7438 MB / 1.39 GB, free: 6.242 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.5315, allocations: 132.5 kB / 1.39 GB, free: 6.094 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.5315, allocations: 11.98 kB / 1.39 GB, free: 6.082 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.5318, allocations: 31.92 kB / 1.39 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.5318, allocations: 19.98 kB / 1.39 GB, free: 6.031 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.5318, allocations: 8 kB / 1.39 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003842/0.5322, allocations: 287.1 kB / 1.39 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.01e-07/0.5322, allocations: 3.938 kB / 1.39 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005348/0.5328, allocations: 123.6 kB / 1.391 GB, free: 5.621 MB / 0.8855 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.001495/0.5343, allocations: 2.001 MB / 1.393 GB, free: 3.527 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007337/0.535, allocations: 392.3 kB / 1.393 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.535, allocations: 0 / 1.393 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.5353, allocations: 128.3 kB / 1.393 GB, free: 3.023 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.5358, allocations: 81.94 kB / 1.393 GB, free: 2.945 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.5397, allocations: 2.957 MB / 1.396 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.5401, allocations: 0.8196 MB / 1.397 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.5403, allocations: 43.27 kB / 1.397 GB, free: 15 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.5405, allocations: 147.4 kB / 1.397 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of SimCode: time 6.02e-07/0.5406, allocations: 0 / 1.397 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.5593, allocations: 7.235 MB / 1.404 GB, free: 7.863 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.5595, allocations: 220.5 kB / 1.404 GB, free: 7.625 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/2.695, allocations: 64 / 1.404 GB, free: 7.625 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput_res.mat does not exist to compare? outputFormat=mat