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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 111 kB / 16.41 MB, free: 6.008 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.002109/0.002109, allocations: 183.5 kB / 17.34 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001382, allocations: 67.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8265/0.8279, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.002804/0.8307, allocations: 1.848 MB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.8326, allocations: 1.257 MB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.8329, allocations: 7.531 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.8331, allocations: 73.27 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.8333, allocations: 60.25 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.8337, allocations: 165.6 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004166/0.8341, allocations: 497.1 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003816/0.8345, allocations: 256.7 kB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.8347, allocations: 179.6 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.8349, allocations: 187.6 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.648e-05/0.835, allocations: 51.38 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.329e-05/0.8351, allocations: 51.41 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.159e-05/0.8352, allocations: 107.8 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.8353, allocations: 206.5 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005845/0.8359, allocations: 0.5651 MB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8359, allocations: 0 / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8359, allocations: 0.6875 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.8359, allocations: 0.5156 kB / 1.094 GB, free: 1.965 MB / 0.8575 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.001136/0.8371, allocations: 0.7205 MB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.8371, allocations: 9.312 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.301e-05/0.8372, allocations: 48.95 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.8377, allocations: 338.9 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.8377, allocations: 33.78 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.8378, allocations: 37.89 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006559/0.8385, allocations: 396.8 kB / 1.096 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.8385, allocations: 192 / 1.096 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.8385, allocations: 20 kB / 1.096 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.8385, allocations: 9.031 kB / 1.096 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/0.8391, allocations: 273.8 kB / 1.096 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.8411, allocations: 1.349 MB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008842/0.842, allocations: 256.2 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.8423, allocations: 117.3 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.8423, allocations: 7.594 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.8423, allocations: 37.42 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/0.8424, allocations: 0 / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.0007463/0.8431, allocations: 313.3 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.8432, allocations: 106.7 kB / 1.098 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.8437, allocations: 403.8 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.8437, allocations: 31.5 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.8439, allocations: 232.4 kB / 1.099 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.844, allocations: 79.48 kB / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.8441, allocations: 64.25 kB / 1.099 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.8442, allocations: 346.6 kB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.8446, allocations: 118.8 kB / 1.099 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.8449, allocations: 207.9 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/0.8454, allocations: 268.5 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.8455, allocations: 5.062 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007769/0.8462, allocations: 370.9 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.8463, allocations: 9.344 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.8463, allocations: 2.188 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.8463, allocations: 3.938 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.8466, allocations: 76.94 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.8466, allocations: 3.734 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.8469, allocations: 54.88 kB / 1.1 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.847, allocations: 14.56 kB / 1.1 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002936/0.8473, allocations: 199.5 kB / 1.1 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002413/0.8475, allocations: 173.8 kB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003329/0.8478, allocations: 228.2 kB / 1.101 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.8479, allocations: 0 / 1.101 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005617/0.8484, allocations: 334.1 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.8484, allocations: 5.031 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.8485, allocations: 6 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.62e-06/0.8485, allocations: 4.969 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.8487, allocations: 58.77 kB / 1.101 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.8487, allocations: 3.25 kB / 1.101 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.8489, allocations: 39.89 kB / 1.101 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.849, allocations: 14.19 kB / 1.101 GB, free: 13.42 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.8491, allocations: 198.5 kB / 1.101 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.8492, allocations: 39.12 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005409/0.8497, allocations: 244.1 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.8497, allocations: 2.219 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.8498, allocations: 0 / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.8498, allocations: 6.406 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.8512, allocations: 0.8484 MB / 1.102 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.8513, allocations: 3.062 kB / 1.102 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.8515, allocations: 49.88 kB / 1.103 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.8515, allocations: 3.781 kB / 1.103 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.8515, allocations: 12.72 kB / 1.103 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.8515, allocations: 4.188 kB / 1.103 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8515, allocations: 2.406 kB / 1.103 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007965/0.8523, allocations: 491.8 kB / 1.103 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.8524, allocations: 124.5 kB / 1.103 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.8525, allocations: 9.031 kB / 1.103 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.8527, allocations: 20.33 kB / 1.103 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.8528, allocations: 24.41 kB / 1.103 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.8528, allocations: 7.578 kB / 1.103 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003739/0.8532, allocations: 287.3 kB / 1.103 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8532, allocations: 4.531 kB / 1.103 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005418/0.8537, allocations: 118.3 kB / 1.104 GB, free: 11.85 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001513/0.8539, allocations: 111.8 kB / 1.104 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008261/0.8547, allocations: 399.8 kB / 1.104 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.8547, allocations: 1.375 kB / 1.104 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.8549, allocations: 108.9 kB / 1.104 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.8555, allocations: 70.97 kB / 1.104 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.8567, allocations: 0.7032 MB / 1.105 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.8571, allocations: 0.7916 MB / 1.106 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.8572, allocations: 32.2 kB / 1.106 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.8573, allocations: 0 / 1.106 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of Templates: time 0.007977/0.8652, allocations: 4.292 MB / 1.11 GB, free: 9.91 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches