Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.0012, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001255/0.001255, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.469/1.469, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.525/2.525, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 64.7 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4085, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.002941/0.4115, allocations: 0.6569 MB / 0.9518 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.4129, allocations: 0.8118 MB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.4129, allocations: 0 / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.395e-05/0.413, allocations: 3.938 kB / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.4131, allocations: 0 / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.4133, allocations: 15.98 kB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.4134, allocations: 23.92 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.4136, allocations: 11.98 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.494e-05/0.4137, allocations: 4 kB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.573e-05/0.4137, allocations: 11.92 kB / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.4138, allocations: 4 kB / 0.9526 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.4138, allocations: 0 / 0.9526 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.4138, allocations: 4 kB / 0.9527 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.4139, allocations: 11.94 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.414, allocations: 27.83 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.414, allocations: 0 / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.575e-06/0.414, allocations: 0 / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.414, allocations: 4 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006381/0.4147, allocations: 340.7 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.4147, allocations: 8.031 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.4148, allocations: 8.859 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.415, allocations: 172.2 kB / 0.9532 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.415, allocations: 384 / 0.9532 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.415, allocations: 384 / 0.9532 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.4152, allocations: 56.34 kB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4152, allocations: 192 / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.4152, allocations: 7.922 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4152, allocations: 0 / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.4154, allocations: 35.91 kB / 0.9533 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.4158, allocations: 245 kB / 0.9535 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.416, allocations: 42.5 kB / 0.9536 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.115e-05/0.4161, allocations: 20.91 kB / 0.9536 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.4161, allocations: 4 kB / 0.9536 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.4161, allocations: 34.55 kB / 0.9536 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4161, allocations: 0 / 0.9536 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003555/0.4165, allocations: 85.59 kB / 0.9537 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.4165, allocations: 55.39 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.4166, allocations: 97.8 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.4167, allocations: 25.7 kB / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.4167, allocations: 84.14 kB / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.4167, allocations: 7.906 kB / 0.954 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.4168, allocations: 13.7 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4169, allocations: 323 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.417, allocations: 11.98 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/0.4171, allocations: 15.98 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.4172, allocations: 44.75 kB / 0.9544 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4173, allocations: 0 / 0.9544 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001807/0.4174, allocations: 69.67 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4175, allocations: 7.984 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4175, allocations: 0 / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4175, allocations: 0 / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.281e-05/0.4176, allocations: 8 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.4176, allocations: 0 / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.4177, allocations: 7.984 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.4177, allocations: 0 / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.000101/0.4178, allocations: 117.8 kB / 0.9546 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.4178, allocations: 7.906 kB / 0.9546 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.4181, allocations: 68.72 kB / 0.9546 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4181, allocations: 3.984 kB / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4181, allocations: 0 / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4181, allocations: 0 / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.4183, allocations: 161.6 kB / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4183, allocations: 11.94 kB / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.4184, allocations: 7.984 kB / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4184, allocations: 0 / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.4184, allocations: 0 / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.4184, allocations: 4 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4184, allocations: 3.984 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.4187, allocations: 171.4 kB / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.4188, allocations: 77.11 kB / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.4188, allocations: 0 / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.4189, allocations: 7.984 kB / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.4189, allocations: 0 / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.4189, allocations: 7.938 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.481e-05/0.419, allocations: 83.27 kB / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.419, allocations: 0 / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002164/0.4192, allocations: 4 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (2): * Single equations (assignments): 2 * 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.0002244/0.4195, allocations: 103.3 kB / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.4197, allocations: 31.97 kB / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4197, allocations: 0 / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.207e-05/0.4198, allocations: 27.91 kB / 0.9553 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.4201, allocations: 16 kB / 0.9553 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.4205, allocations: 101.5 kB / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.4209, allocations: 0.6766 MB / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.505e-05/0.4209, allocations: 3.984 kB / 0.9561 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.4209, allocations: 7.438 kB / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.421, allocations: 0 / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of Templates: time 0.002641/0.4236, allocations: 443.4 kB / 0.9565 GB, free: 2.141 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches