Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007055/0.007055, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.00135/0.00135, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.499/1.499, allocations: 222.9 MB / 240.4 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.462/2.462, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.91 kB / 0.9509 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238/1.239, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.003257/1.243, allocations: 0.7034 MB / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001482/1.244, allocations: 0.8107 MB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/1.244, allocations: 1.094 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.555e-05/1.244, allocations: 4.641 kB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/1.245, allocations: 5.578 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/1.245, allocations: 14.44 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/1.245, allocations: 38.97 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/1.245, allocations: 10.31 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/1.245, allocations: 22.39 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.74e-05/1.245, allocations: 26.52 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.915e-05/1.245, allocations: 3.75 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.022e-05/1.245, allocations: 2.875 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/1.245, allocations: 11.16 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/1.245, allocations: 18.17 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/1.246, allocations: 39.69 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/1.246, allocations: 1.188 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.417e-06/1.246, allocations: 0 / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.514e-05/1.246, allocations: 0.7969 kB / 1.09 GB, free: 4.336 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006987/1.246, allocations: 364.7 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.516e-05/1.246, allocations: 9.922 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/1.247, allocations: 10.77 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/1.247, allocations: 168.5 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/1.247, allocations: 1.25 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.851e-05/1.247, allocations: 3.281 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/1.247, allocations: 76.91 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.247, allocations: 4.125 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/1.247, allocations: 3.938 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/1.247, allocations: 1.156 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/1.247, allocations: 62.94 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/1.248, allocations: 273.9 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/1.248, allocations: 59.22 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/1.248, allocations: 37.69 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/1.248, allocations: 3.938 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/1.248, allocations: 36.44 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/1.248, allocations: 0 / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006396/1.249, allocations: 128.7 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/1.249, allocations: 53.34 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/1.249, allocations: 111 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/1.249, allocations: 30.64 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/1.249, allocations: 82.67 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/1.249, allocations: 13.91 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/1.249, allocations: 14.2 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.537e-05/1.25, allocations: 317.6 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/1.25, allocations: 35.5 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/1.25, allocations: 34.36 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/1.25, allocations: 67.33 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.25, allocations: 3.938 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003746/1.251, allocations: 103.2 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.251, allocations: 4.531 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.251, allocations: 5.828 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.251, allocations: 0 / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/1.251, allocations: 15.12 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/1.251, allocations: 0.8438 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.689e-05/1.251, allocations: 11.34 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/1.251, allocations: 5.484 kB / 1.092 GB, free: 2.551 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 (3): * Single equations (assignments): 3 * 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 8.823e-05/1.251, allocations: 120.8 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/1.251, allocations: 2.406 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/1.252, allocations: 104.8 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/1.252, allocations: 0 / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.252, allocations: 0.6875 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.252, allocations: 1.547 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/1.252, allocations: 170.5 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.252, allocations: 0 / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/1.252, allocations: 15.89 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.252, allocations: 0.875 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/1.252, allocations: 12.69 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.252, allocations: 4.734 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.252, allocations: 4.75 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004466/1.252, allocations: 198.4 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/1.252, allocations: 78.47 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/1.253, allocations: 1.984 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/1.253, allocations: 15 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/1.253, allocations: 4.344 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/1.253, allocations: 0.8438 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.135e-05/1.253, allocations: 91.83 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.253, allocations: 0 / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002308/1.253, allocations: 10.27 kB / 1.093 GB, free: 1.824 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 (3): * Single equations (assignments): 3 * 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.0001552/1.253, allocations: 99.94 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004004/1.254, allocations: 70.47 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.254, allocations: 4.844 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/1.254, allocations: 34.22 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/1.254, allocations: 15.69 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/1.254, allocations: 117.8 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/1.255, allocations: 0.6805 MB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.396e-05/1.255, allocations: 5.656 kB / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.47e-05/1.255, allocations: 13.47 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/1.255, allocations: 1.062 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of Templates: time 0.003433/1.258, allocations: 0.6879 MB / 1.094 GB, free: 0.8047 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches