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.393/2.393, allocations: 387.4 MB / 394.9 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.0009991/0.000999, allocations: 188.6 kB / 487.4 MB, free: 5.055 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.61/1.61, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 110.3 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.034e-05/2.036e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2561, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9435/1.2, allocations: 152.4 MB / 1.355 GB, free: 18.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/1.2, allocations: 92.58 kB / 1.355 GB, free: 18.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01931/1.219, allocations: 8.37 MB / 1.363 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.033e-06/1.219, allocations: 0 / 1.363 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.942e-05/1.219, allocations: 15.02 kB / 1.363 GB, free: 33.27 MB / 0.8386 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.0008377/1.22, allocations: 0.6195 MB / 1.364 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/1.22, allocations: 11.59 kB / 1.364 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.058e-05/1.22, allocations: 50.69 kB / 1.364 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/1.221, allocations: 378.2 kB / 1.364 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/1.221, allocations: 15.47 kB / 1.364 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/1.221, allocations: 23.12 kB / 1.364 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003494/1.221, allocations: 216 kB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/1.222, allocations: 321.5 kB / 1.365 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.222, allocations: 0 / 1.365 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/1.222, allocations: 0 / 1.365 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/1.222, allocations: 11.69 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/1.223, allocations: 1.338 MB / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/1.224, allocations: 265.4 kB / 1.366 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/1.224, allocations: 107.9 kB / 1.366 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.608e-05/1.224, allocations: 8.344 kB / 1.366 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/1.225, allocations: 151.5 kB / 1.367 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 1.333e-06/1.225, allocations: 3.938 kB / 1.367 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.0003347/1.225, allocations: 210.8 kB / 1.367 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/1.225, allocations: 132.5 kB / 1.367 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/1.225, allocations: 271.9 kB / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/1.225, allocations: 25.7 kB / 1.367 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/1.225, allocations: 243.8 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/1.225, allocations: 84.86 kB / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/1.225, allocations: 0 / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.226, allocations: 347 kB / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/1.226, allocations: 81.19 kB / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/1.226, allocations: 142.8 kB / 1.368 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/1.226, allocations: 87.48 kB / 1.368 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.226, allocations: 0 / 1.368 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003744/1.226, allocations: 266.5 kB / 1.368 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002685/1.227, allocations: 450.9 kB / 1.369 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.227, allocations: 4 kB / 1.369 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/1.227, allocations: 3.875 kB / 1.369 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/1.227, allocations: 65.38 kB / 1.369 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.227, allocations: 3.688 kB / 1.369 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/1.227, allocations: 51.33 kB / 1.369 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/1.227, allocations: 15.09 kB / 1.369 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/1.227, allocations: 3.781 kB / 1.369 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002753/1.228, allocations: 189.4 kB / 1.369 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-06/1.228, allocations: 3.844 kB / 1.369 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-06/1.228, allocations: 0 / 1.369 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/1.228, allocations: 59.95 kB / 1.369 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/1.228, allocations: 0 / 1.369 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/1.228, allocations: 33.95 kB / 1.369 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/1.228, allocations: 7.719 kB / 1.369 GB, free: 30.13 MB / 0.8386 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 () * 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.0001038/1.228, allocations: 112.4 kB / 1.369 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002933/1.228, allocations: 206.2 kB / 1.37 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/1.228, allocations: 37.67 kB / 1.37 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.145e-05/1.229, allocations: 31.34 kB / 1.37 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.229, allocations: 7.641 kB / 1.37 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.229, allocations: 3.969 kB / 1.37 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.229, allocations: 2.859 kB / 1.37 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/1.23, allocations: 0.8538 MB / 1.371 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.23, allocations: 3.75 kB / 1.371 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/1.23, allocations: 54.5 kB / 1.371 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/1.23, allocations: 3.359 kB / 1.371 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/1.23, allocations: 10.78 kB / 1.371 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.23, allocations: 7.844 kB / 1.371 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.23, allocations: 3.812 kB / 1.371 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005265/1.23, allocations: 0.6414 MB / 1.371 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/1.231, allocations: 115.8 kB / 1.371 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/1.231, allocations: 7.672 kB / 1.371 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/1.231, allocations: 24.7 kB / 1.371 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/1.231, allocations: 20.31 kB / 1.371 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/1.231, allocations: 13.95 kB / 1.371 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001778/1.231, allocations: 207.3 kB / 1.372 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.112e-06/1.231, allocations: 3.844 kB / 1.372 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004799/1.232, allocations: 130.4 kB / 1.372 GB, free: 28.76 MB / 0.8386 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 () * 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.001045/1.233, allocations: 1.883 MB / 1.374 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004151/1.233, allocations: 318.9 kB / 1.374 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.233, allocations: 0 / 1.374 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/1.233, allocations: 91.75 kB / 1.374 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/1.234, allocations: 75.17 kB / 1.374 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/1.235, allocations: 0.6302 MB / 1.375 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/1.235, allocations: 0.8199 MB / 1.375 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002161/1.235, allocations: 55.31 kB / 1.375 GB, free: 26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/1.236, allocations: 136 kB / 1.376 GB, free: 26 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.236, allocations: 0 / 1.376 GB, free: 26 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/1.262, allocations: 6.344 MB / 1.382 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/1.262, allocations: 178.4 kB / 1.382 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/3.331, allocations: 0 / 1.382 GB, free: 24.68 MB / 0.8386 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