Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 108.8 kB / 16.41 MB, free: 6.512 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.001513/0.001513, allocations: 192.3 kB / 17.35 MB, free: 5.734 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.531/2.531, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 72.02 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9451/0.9474, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003374/0.9508, allocations: 1.834 MB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.9528, allocations: 1.271 MB / 1.212 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003536/0.9532, allocations: 7.938 kB / 1.212 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.9535, allocations: 71.27 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.9537, allocations: 51.47 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.9541, allocations: 171.7 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.9546, allocations: 497 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.955, allocations: 250.3 kB / 1.213 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.9552, allocations: 175.3 kB / 1.213 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.9554, allocations: 198.9 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.9555, allocations: 52 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.542e-05/0.9555, allocations: 52 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.915e-05/0.9556, allocations: 107.6 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.9558, allocations: 206.9 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005337/0.9563, allocations: 0.5603 MB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9564, allocations: 0 / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9564, allocations: 0 / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.9564, allocations: 0 / 1.214 GB, free: 8.137 MB / 0.9356 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.001231/0.9576, allocations: 0.7231 MB / 1.215 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.9577, allocations: 8.031 kB / 1.215 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.01e-05/0.9578, allocations: 52.38 kB / 1.215 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.9582, allocations: 340.3 kB / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.9583, allocations: 33.31 kB / 1.215 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/0.9583, allocations: 36.38 kB / 1.215 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.959, allocations: 395.5 kB / 1.215 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.959, allocations: 4.188 kB / 1.215 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.9591, allocations: 19.94 kB / 1.215 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.9591, allocations: 11.98 kB / 1.215 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005458/0.9596, allocations: 275.8 kB / 1.216 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.9617, allocations: 1.339 MB / 1.217 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008155/0.9625, allocations: 254.5 kB / 1.217 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.9628, allocations: 121 kB / 1.217 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.9628, allocations: 4 kB / 1.217 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.9629, allocations: 38.5 kB / 1.217 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 1.804e-06/0.9629, allocations: 0 / 1.217 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.0007206/0.9636, allocations: 307.6 kB / 1.218 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.9637, allocations: 110.8 kB / 1.218 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.9641, allocations: 397.6 kB / 1.218 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.9642, allocations: 33.7 kB / 1.218 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.9643, allocations: 228 kB / 1.218 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.9644, allocations: 86.83 kB / 1.218 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.9645, allocations: 65.59 kB / 1.219 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.9646, allocations: 346.8 kB / 1.219 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.965, allocations: 120.8 kB / 1.219 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.9653, allocations: 210.6 kB / 1.219 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.9658, allocations: 260 kB / 1.219 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9658, allocations: 0 / 1.219 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007496/0.9666, allocations: 369 kB / 1.22 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.9666, allocations: 11.94 kB / 1.22 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.9666, allocations: 4.156 kB / 1.22 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.9667, allocations: 7.984 kB / 1.22 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.967, allocations: 67.91 kB / 1.22 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.967, allocations: 4 kB / 1.22 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.9673, allocations: 55.56 kB / 1.22 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.9673, allocations: 12 kB / 1.22 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00029/0.9676, allocations: 200.1 kB / 1.22 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002432/0.9679, allocations: 174.7 kB / 1.22 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003336/0.9682, allocations: 231.1 kB / 1.221 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.913e-06/0.9682, allocations: 3.938 kB / 1.221 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005735/0.9688, allocations: 323.1 kB / 1.221 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.9688, allocations: 7.938 kB / 1.221 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.9688, allocations: 8.156 kB / 1.221 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.9688, allocations: 7.938 kB / 1.221 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.9691, allocations: 67.84 kB / 1.221 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.9691, allocations: 0 / 1.221 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.9694, allocations: 43.67 kB / 1.221 GB, free: 472 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.9694, allocations: 15.98 kB / 1.221 GB, free: 456 kB / 0.9356 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.0001181/0.9695, allocations: 192.2 kB / 1.221 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.9696, allocations: 35.56 kB / 1.221 GB, free: 220 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.9701, allocations: 243.8 kB / 1.221 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.9701, allocations: 7.922 kB / 1.221 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.9701, allocations: 0 / 1.221 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-05/0.9702, allocations: 120.6 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.9703, allocations: 8 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.9705, allocations: 23.92 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.9705, allocations: 11.98 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006662/0.9712, allocations: 316.7 kB / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008069/0.972, allocations: 0.5119 MB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002013/0.9722, allocations: 91.92 kB / 1.222 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003167/0.9726, allocations: 287.2 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of Backend: time 5.41e-07/0.9726, allocations: 0 / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.9737, allocations: 406.1 kB / 1.223 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of SimCode: time 0.00152/0.9752, allocations: 1.057 MB / 1.224 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of Templates: time 0.01139/0.9866, allocations: 4.81 MB / 1.229 GB, free: 8.281 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches