Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 114 kB / 17.13 MB, free: 6.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002696/0.002696, allocations: 198 kB / 20.08 MB, free: 3.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 71.88 kB / 1.057 GB, free: 2.051 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3542, allocations: 160.7 MB / 1.214 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003211/0.3574, allocations: 1.533 MB / 1.216 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008796/0.3583, allocations: 447.7 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.3583, allocations: 0 / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.3584, allocations: 3.938 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-05/0.3584, allocations: 7.875 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.3587, allocations: 27.97 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.3588, allocations: 47.84 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3589, allocations: 11.98 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.359, allocations: 23.92 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.3591, allocations: 27.84 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.3591, allocations: 4 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.028e-05/0.3591, allocations: 4 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.3591, allocations: 7.984 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.3592, allocations: 19.88 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.3593, allocations: 43.77 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3593, allocations: 0 / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3593, allocations: 4 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3593, allocations: 0 / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007725/0.3601, allocations: 367.2 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3601, allocations: 8.031 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.3602, allocations: 8.891 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.3603, allocations: 176.3 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.3604, allocations: 384 / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.3604, allocations: 12.36 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.3606, allocations: 69.97 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3606, allocations: 3.938 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3606, allocations: 4 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3606, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.3608, allocations: 43.91 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.3613, allocations: 288.8 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.3617, allocations: 66.53 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3618, allocations: 28.78 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3618, allocations: 4 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.3618, allocations: 30.56 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.3618, allocations: 4 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004064/0.3622, allocations: 85.61 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.3623, allocations: 55.41 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.3624, allocations: 121.8 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.3625, allocations: 25.7 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.3625, allocations: 84.14 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.3625, allocations: 15.97 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.3626, allocations: 17.7 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3627, allocations: 322.8 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.116e-05/0.3628, allocations: 15.92 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.946e-05/0.3629, allocations: 15.98 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.3631, allocations: 40.83 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3631, allocations: 0 / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002212/0.3633, allocations: 81.61 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3633, allocations: 4 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3633, allocations: 0 / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3633, allocations: 0 / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.3634, allocations: 8 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3634, allocations: 0 / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.556e-05/0.3635, allocations: 7.984 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3635, allocations: 4.266 kB / 1.218 GB, free: 12.6 MB / 0.9669 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 0.0001602/0.3636, allocations: 117.8 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.3637, allocations: 3.953 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.3637, allocations: 15.89 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3637, allocations: 3.984 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3637, allocations: 0 / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.3637, allocations: 0 / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.3639, allocations: 177.6 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3639, allocations: 0 / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.316e-05/0.364, allocations: 7.984 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.364, allocations: 7.938 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.364, allocations: 8 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.364, allocations: 0 / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.364, allocations: 3.938 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.3643, allocations: 171.4 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.3644, allocations: 85.05 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.3644, allocations: 0 / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.802e-05/0.3645, allocations: 11.98 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.3645, allocations: 0 / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.3645, allocations: 0 / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.068e-05/0.3646, allocations: 99.27 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3646, allocations: 0 / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002176/0.3648, allocations: 11.94 kB / 1.219 GB, free: 11.79 MB / 0.9669 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.0001145/0.3649, allocations: 91.25 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.3652, allocations: 43.97 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3652, allocations: 0 / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.441e-05/0.3653, allocations: 23.91 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.3656, allocations: 9.406 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.3661, allocations: 172.1 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.3665, allocations: 0.6807 MB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.3665, allocations: 11.44 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3665, allocations: 4 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of Templates: time 0.002592/0.3691, allocations: 0.7179 MB / 1.221 GB, free: 9.98 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,cheEqu.y,cheEqu.u1,cheEqu.u2 Variables in the result:cheEqu.u1,cheEqu.u2,cheEqu.y,time [Calling sys.exit(0), Time elapsed: 10.723838622914627]