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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009627/0.000963, allocations: 103 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.638/2.638, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003479, allocations: 12 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7751/0.7754, allocations: 153.6 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput): time 0.002914/0.7784, allocations: 2.308 MB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.7798, allocations: 0.5734 MB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002427/0.7801, allocations: 15.88 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.63e-05/0.7802, allocations: 35.58 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.7805, allocations: 82.7 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.7808, allocations: 123.9 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004611/0.7813, allocations: 313.3 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003224/0.7816, allocations: 178.7 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.7818, allocations: 107.4 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.7819, allocations: 131.1 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.782, allocations: 12 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.992e-05/0.782, allocations: 12 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.7821, allocations: 59.69 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.355e-05/0.7822, allocations: 93.45 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.7826, allocations: 472.7 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.7826, allocations: 3.938 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7826, allocations: 0 / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.7826, allocations: 0 / 1.025 GB, free: 12.58 MB / 0.7794 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.001083/0.7837, allocations: 0.7016 MB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.7837, allocations: 8.031 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.534e-05/0.7838, allocations: 55.44 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.7843, allocations: 355.6 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.7843, allocations: 29 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.7844, allocations: 36 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006476/0.785, allocations: 412.6 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.785, allocations: 0 / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.7851, allocations: 16 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.7851, allocations: 11.94 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005406/0.7857, allocations: 299.8 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.7877, allocations: 1.519 MB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006666/0.7883, allocations: 282.8 kB / 1.029 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.7884, allocations: 0 / 1.029 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.7884, allocations: 38.56 kB / 1.029 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.7884, allocations: 0 / 1.029 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0006778/0.7891, allocations: 322.9 kB / 1.029 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.7892, allocations: 102.8 kB / 1.029 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/0.7896, allocations: 421.9 kB / 1.03 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.7897, allocations: 33.7 kB / 1.03 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.7899, allocations: 259.7 kB / 1.03 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.7899, allocations: 75 kB / 1.03 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.7899, allocations: 4 kB / 1.03 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.7901, allocations: 354.8 kB / 1.03 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.7903, allocations: 107.9 kB / 1.03 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.7906, allocations: 206.9 kB / 1.031 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.7908, allocations: 137.9 kB / 1.031 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7909, allocations: 4 kB / 1.031 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006171/0.7915, allocations: 373.1 kB / 1.031 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003052/0.7918, allocations: 0.7931 MB / 1.032 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7918, allocations: 0 / 1.032 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.7918, allocations: 4 kB / 1.032 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.7921, allocations: 71.89 kB / 1.032 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.7921, allocations: 7.938 kB / 1.032 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.7924, allocations: 63.58 kB / 1.032 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.7924, allocations: 12 kB / 1.032 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.7924, allocations: 4 kB / 1.032 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003533/0.7928, allocations: 251.7 kB / 1.032 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.7928, allocations: 4 kB / 1.032 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/0.7928, allocations: 4 kB / 1.032 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.793, allocations: 60.12 kB / 1.032 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.793, allocations: 11.98 kB / 1.032 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.7932, allocations: 43.67 kB / 1.032 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.7932, allocations: 12 kB / 1.032 GB, free: 4.805 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPD.noTri.y,limPID.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0002037/0.7935, allocations: 237 kB / 1.033 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.7935, allocations: 39.53 kB / 1.033 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.769e-05/0.7936, allocations: 39.75 kB / 1.033 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.7936, allocations: 8 kB / 1.033 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.7936, allocations: 3.938 kB / 1.033 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.7936, allocations: 3.984 kB / 1.033 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.7949, allocations: 0.7785 MB / 1.034 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.7949, allocations: 7.984 kB / 1.034 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.7951, allocations: 39.97 kB / 1.034 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.7951, allocations: 8.125 kB / 1.034 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.7951, allocations: 8 kB / 1.034 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.7951, allocations: 11.89 kB / 1.034 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7951, allocations: 3.938 kB / 1.034 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007502/0.7959, allocations: 0.5147 MB / 1.034 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.989e-05/0.796, allocations: 116.6 kB / 1.034 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.796, allocations: 8 kB / 1.034 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.7962, allocations: 27.98 kB / 1.034 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.7963, allocations: 11.92 kB / 1.034 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.7963, allocations: 12 kB / 1.034 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002962/0.7966, allocations: 295.1 kB / 1.035 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7966, allocations: 0 / 1.035 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004821/0.7971, allocations: 127.6 kB / 1.035 GB, free: 2.371 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001274/0.7972, allocations: 111.1 kB / 1.035 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006788/0.7979, allocations: 388.9 kB / 1.035 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7979, allocations: 0 / 1.035 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.7981, allocations: 97.02 kB / 1.035 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.7986, allocations: 79.12 kB / 1.035 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.7999, allocations: 0.8244 MB / 1.036 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.8004, allocations: 0.8157 MB / 1.037 GB, free: 15.99 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.8005, allocations: 47.2 kB / 1.037 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.8006, allocations: 31.42 kB / 1.037 GB, free: 15.91 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.8006, allocations: 0 / 1.037 GB, free: 15.91 MB / 0.795 GB Notification: Performance of Templates: time 0.007202/0.8078, allocations: 3.415 MB / 1.04 GB, free: 12.56 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.makefile (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 & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches