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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001814/0.001814, allocations: 117 kB / 16.42 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.002521/0.002521, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.41/1.41, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.698/2.698, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 67.91 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325/1.327, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003563/1.331, allocations: 1.838 MB / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002244/1.333, allocations: 1.26 MB / 1.229 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003952/1.333, allocations: 8 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003025/1.334, allocations: 71.19 kB / 1.23 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002709/1.334, allocations: 59.45 kB / 1.23 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/1.335, allocations: 167.7 kB / 1.23 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006953/1.335, allocations: 493 kB / 1.23 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004907/1.336, allocations: 254.3 kB / 1.23 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/1.336, allocations: 183.3 kB / 1.231 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/1.336, allocations: 195 kB / 1.231 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.846e-05/1.336, allocations: 52 kB / 1.231 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.614e-05/1.336, allocations: 52 kB / 1.231 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.603e-05/1.337, allocations: 111.6 kB / 1.231 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/1.337, allocations: 198.9 kB / 1.231 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006078/1.337, allocations: 0.5646 MB / 1.232 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.337, allocations: 0 / 1.232 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.573e-06/1.337, allocations: 0 / 1.232 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.718e-05/1.337, allocations: 3.938 kB / 1.232 GB, free: 8.012 MB / 0.9512 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.001427/1.339, allocations: 0.7325 MB / 1.232 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.339, allocations: 8.031 kB / 1.232 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/1.339, allocations: 56.64 kB / 1.233 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005294/1.34, allocations: 340.5 kB / 1.233 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/1.34, allocations: 29.38 kB / 1.233 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/1.34, allocations: 36.38 kB / 1.233 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/1.34, allocations: 391.5 kB / 1.233 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.34, allocations: 4.188 kB / 1.233 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/1.34, allocations: 19.94 kB / 1.233 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/1.34, allocations: 12 kB / 1.233 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005625/1.341, allocations: 267.9 kB / 1.234 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/1.343, allocations: 1.367 MB / 1.235 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008101/1.344, allocations: 254.8 kB / 1.235 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/1.344, allocations: 120.8 kB / 1.235 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/1.344, allocations: 0 / 1.235 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/1.344, allocations: 38.56 kB / 1.235 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/1.344, allocations: 0 / 1.235 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21): time 0.000737/1.345, allocations: 306.7 kB / 1.236 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/1.345, allocations: 110.8 kB / 1.236 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/1.346, allocations: 397.7 kB / 1.236 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/1.346, allocations: 29.7 kB / 1.236 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/1.346, allocations: 244.3 kB / 1.236 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/1.346, allocations: 75.33 kB / 1.236 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/1.346, allocations: 65.66 kB / 1.236 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.346, allocations: 346.8 kB / 1.237 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/1.346, allocations: 124.8 kB / 1.237 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/1.347, allocations: 208.9 kB / 1.237 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/1.347, allocations: 265.8 kB / 1.237 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.347, allocations: 0 / 1.237 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009014/1.348, allocations: 366.5 kB / 1.238 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.348, allocations: 9.031 kB / 1.238 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/1.348, allocations: 8.156 kB / 1.238 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.348, allocations: 4 kB / 1.238 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/1.349, allocations: 75.83 kB / 1.238 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.349, allocations: 4 kB / 1.238 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/1.349, allocations: 59.58 kB / 1.238 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/1.349, allocations: 8.047 kB / 1.238 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002827/1.349, allocations: 204.1 kB / 1.238 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003304/1.349, allocations: 189.3 kB / 1.238 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004046/1.35, allocations: 226.9 kB / 1.238 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/1.35, allocations: 0 / 1.238 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005721/1.35, allocations: 323.1 kB / 1.239 GB, free: 428 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/1.35, allocations: 4 kB / 1.239 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/1.35, allocations: 160 / 1.239 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/1.35, allocations: 11.94 kB / 1.239 GB, free: 412 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/1.351, allocations: 63.91 kB / 1.239 GB, free: 348 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.351, allocations: 4 kB / 1.239 GB, free: 344 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/1.351, allocations: 35.83 kB / 1.239 GB, free: 308 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/1.351, allocations: 15.94 kB / 1.239 GB, free: 292 kB / 0.9512 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.0001255/1.351, allocations: 196.7 kB / 1.239 GB, free: 88 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/1.351, allocations: 43.69 kB / 1.239 GB, free: 44 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005239/1.352, allocations: 243.8 kB / 1.239 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.352, allocations: 7.938 kB / 1.239 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.352, allocations: 0 / 1.239 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/1.352, allocations: 120.8 kB / 1.24 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/1.352, allocations: 4 kB / 1.24 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/1.352, allocations: 15.98 kB / 1.24 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/1.352, allocations: 15.98 kB / 1.24 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006743/1.353, allocations: 316.7 kB / 1.24 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007302/1.354, allocations: 0.5165 MB / 1.24 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001918/1.354, allocations: 95.98 kB / 1.24 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003175/1.354, allocations: 283.2 kB / 1.241 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of Backend: time 8.72e-07/1.354, allocations: 0 / 1.241 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001033/1.355, allocations: 411 kB / 1.241 GB, free: 14 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001367/1.357, allocations: 1.077 MB / 1.242 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of Templates: time 0.009978/1.367, allocations: 4.815 MB / 1.247 GB, free: 8.09 MB / 0.9669 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