Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 110.5 kB / 16.41 MB, free: 5.977 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.001098/0.001098, allocations: 188.3 kB / 17.34 MB, free: 5.586 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.493/1.493, allocations: 222.9 MB / 241 MB, free: 15.14 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.285/2.285, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 68.14 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.919/0.9203, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.001762/0.9221, allocations: 0.6552 MB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009281/0.9231, allocations: 0.8473 MB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.9231, allocations: 0.9062 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.9232, allocations: 0 / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.9232, allocations: 3.938 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.9234, allocations: 10.09 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.278e-05/0.9235, allocations: 24.86 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.9236, allocations: 15.73 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.117e-05/0.9237, allocations: 8.734 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.9237, allocations: 10.66 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.9237, allocations: 5.219 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.9238, allocations: 1.969 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.9238, allocations: 6.484 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.9238, allocations: 15.33 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.363e-05/0.9239, allocations: 19.98 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.9239, allocations: 1.703 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9239, allocations: 0 / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.9239, allocations: 0 / 1.09 GB, free: 4.391 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000382/0.9243, allocations: 332.2 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.9244, allocations: 13.47 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.9244, allocations: 7.438 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.684e-05/0.9245, allocations: 174.5 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.9245, allocations: 1.531 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.9245, allocations: 1.438 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.9247, allocations: 52.61 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.9247, allocations: 192 / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.9247, allocations: 5.625 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.9247, allocations: 0 / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.9249, allocations: 37.22 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.9252, allocations: 241.9 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.9253, allocations: 44.02 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.915e-05/0.9254, allocations: 28.42 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.9254, allocations: 0.6562 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.9255, allocations: 31.44 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.9255, allocations: 0.8125 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003539/0.9258, allocations: 79.91 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.9259, allocations: 53.23 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.846e-05/0.9259, allocations: 104.5 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.9259, allocations: 25.7 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.926, allocations: 89.94 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.926, allocations: 1.875 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.926, allocations: 12.73 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.9261, allocations: 316.8 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.9262, allocations: 13.61 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.569e-05/0.9262, allocations: 22.98 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.9264, allocations: 37.06 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.9264, allocations: 1.125 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001908/0.9266, allocations: 73.91 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.9266, allocations: 5.75 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.9266, allocations: 5 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.9267, allocations: 4.688 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.195e-05/0.9268, allocations: 12.89 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.9268, allocations: 0.5156 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.9268, allocations: 6.438 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.9268, allocations: 0 / 1.092 GB, free: 2.676 MB / 0.8575 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 5.003e-05/0.9269, allocations: 121.5 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.9269, allocations: 1.578 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.927, allocations: 9.078 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.927, allocations: 0 / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.927, allocations: 1.094 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.927, allocations: 0.5625 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.9271, allocations: 159 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.9271, allocations: 1.984 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.523e-05/0.9272, allocations: 7.359 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.9272, allocations: 1.703 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.9272, allocations: 0 / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.9272, allocations: 1.094 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.9272, allocations: 4.609 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.9275, allocations: 166.6 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.9275, allocations: 82.89 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.9275, allocations: 0.8906 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/0.9276, allocations: 6.203 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.9277, allocations: 10.44 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.9277, allocations: 1.031 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.637e-05/0.9277, allocations: 84.27 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9277, allocations: 0 / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002128/0.9279, allocations: 4.156 kB / 1.093 GB, free: 2.016 MB / 0.8575 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.0001307/0.928, allocations: 99.28 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.9283, allocations: 39.3 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9283, allocations: 0 / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.938e-05/0.9284, allocations: 24.64 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.9287, allocations: 8.75 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.929, allocations: 126.7 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.9291, allocations: 0.6761 MB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.9291, allocations: 8.984 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of SimCode: time 8.52e-07/0.9291, allocations: 4.719 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of Templates: time 0.002042/0.9312, allocations: 0.5425 MB / 1.094 GB, free: 1.035 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches