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.00118/0.00118, allocations: 113 kB / 16.42 MB, free: 6.445 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.001304/0.001305, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.07 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.299/2.299, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 64.09 kB / 0.9516 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8939/0.8959, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.0033/0.8992, allocations: 1.834 MB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.901, allocations: 1.262 MB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.9012, allocations: 11.25 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.9015, allocations: 77.7 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.9016, allocations: 56.8 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.9021, allocations: 161.2 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005209/0.9026, allocations: 0.4892 MB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004564/0.903, allocations: 260.2 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.9033, allocations: 173 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.9035, allocations: 195 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.036e-05/0.9036, allocations: 55 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.525e-05/0.9037, allocations: 51.22 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.184e-05/0.9038, allocations: 100.5 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.904, allocations: 210.8 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006849/0.9047, allocations: 0.5575 MB / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.9047, allocations: 0 / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9047, allocations: 0 / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.9047, allocations: 1.125 kB / 1.094 GB, free: 1.945 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.001279/0.906, allocations: 0.7238 MB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.906, allocations: 8.625 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.9061, allocations: 48.28 kB / 1.095 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.9066, allocations: 340.2 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.9067, allocations: 29.22 kB / 1.095 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.9068, allocations: 45.44 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.9078, allocations: 388.7 kB / 1.096 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.9079, allocations: 0.9688 kB / 1.096 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.904e-05/0.9079, allocations: 20.58 kB / 1.096 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.908, allocations: 13.34 kB / 1.096 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008298/0.9088, allocations: 276.6 kB / 1.096 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00285/0.9117, allocations: 1.352 MB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.9127, allocations: 252.8 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.9131, allocations: 118.4 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.9131, allocations: 7.859 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.9132, allocations: 36.56 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 2.404e-06/0.9132, allocations: 0 / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.0009776/0.9142, allocations: 304.9 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/0.9143, allocations: 110.6 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006973/0.915, allocations: 411.5 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.915, allocations: 32.64 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.9152, allocations: 232.6 kB / 1.099 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.775e-05/0.9153, allocations: 78.44 kB / 1.099 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.9155, allocations: 60.72 kB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.9157, allocations: 346.8 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.9161, allocations: 122.5 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.9165, allocations: 202.7 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005748/0.9171, allocations: 273.5 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9171, allocations: 4 kB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008251/0.9179, allocations: 364.6 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.9179, allocations: 10.28 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.918, allocations: 1.828 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.918, allocations: 3 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.9183, allocations: 77.22 kB / 1.1 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.9183, allocations: 11.7 kB / 1.1 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.9186, allocations: 51.27 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.9186, allocations: 14.09 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003096/0.919, allocations: 204.4 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002695/0.9192, allocations: 173.7 kB / 1.101 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003677/0.9196, allocations: 223.9 kB / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.9196, allocations: 1.25 kB / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0006079/0.9202, allocations: 322.9 kB / 1.101 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.9203, allocations: 6.062 kB / 1.101 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.9203, allocations: 2.438 kB / 1.101 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/0.9203, allocations: 6.062 kB / 1.101 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.9206, allocations: 59.98 kB / 1.101 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.9206, allocations: 7.406 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.9208, allocations: 41.19 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.9208, allocations: 9 kB / 1.101 GB, free: 13.39 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.0001328/0.921, allocations: 199.1 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.904e-05/0.9211, allocations: 39.06 kB / 1.101 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005843/0.9216, allocations: 247.5 kB / 1.102 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.9217, allocations: 5.203 kB / 1.102 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9217, allocations: 1.062 kB / 1.102 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.9218, allocations: 118 kB / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.9218, allocations: 6.156 kB / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.922, allocations: 18.45 kB / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.9221, allocations: 9.719 kB / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007018/0.9228, allocations: 333.8 kB / 1.102 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008617/0.9236, allocations: 0.5118 MB / 1.103 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002226/0.9239, allocations: 95.89 kB / 1.103 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000434/0.9243, allocations: 286.2 kB / 1.103 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of Backend: time 4.61e-07/0.9243, allocations: 0.5 kB / 1.103 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.9256, allocations: 415.8 kB / 1.103 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of SimCode: time 0.00141/0.927, allocations: 1.045 MB / 1.104 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of Templates: time 0.01182/0.9388, allocations: 4.82 MB / 1.109 GB, free: 10.87 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