Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001443/0.001443, allocations: 191.3 kB / 16.25 MB, free: 6.625 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.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.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.356/2.356, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.00136, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7102/0.7116, allocations: 140.4 MB / 0.9491 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002493/0.7141, allocations: 1.579 MB / 0.9506 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006015/0.7147, allocations: 441.2 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/0.7148, allocations: 1.375 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/0.7148, allocations: 0 / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.353e-05/0.7149, allocations: 13.03 kB / 0.9511 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.7152, allocations: 25.02 kB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.594e-05/0.7153, allocations: 45.48 kB / 0.9511 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.7154, allocations: 24.2 kB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.7155, allocations: 23.31 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.569e-05/0.7156, allocations: 21.16 kB / 0.9512 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.7156, allocations: 3.844 kB / 0.9512 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.7156, allocations: 4.125 kB / 0.9512 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.7156, allocations: 9.219 kB / 0.9512 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.7157, allocations: 19.98 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.558e-05/0.7158, allocations: 40.91 kB / 0.9513 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7158, allocations: 5.75 kB / 0.9513 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7158, allocations: 0 / 0.9513 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.7158, allocations: 0 / 0.9513 GB, free: 7.461 MB / 0.7169 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.0004992/0.7163, allocations: 364 kB / 0.9516 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.7164, allocations: 9.844 kB / 0.9516 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.7164, allocations: 11.5 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.488e-05/0.7165, allocations: 178.9 kB / 0.9518 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.7165, allocations: 1.906 kB / 0.9518 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.7165, allocations: 11.06 kB / 0.9518 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.7167, allocations: 63.48 kB / 0.9519 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7168, allocations: 0 / 0.9519 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.7168, allocations: 1.219 kB / 0.9519 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.7168, allocations: 1.281 kB / 0.9519 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.717, allocations: 39.22 kB / 0.9519 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.7174, allocations: 302.3 kB / 0.9522 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.7177, allocations: 59.39 kB / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.7179, allocations: 22.28 kB / 0.9523 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.7179, allocations: 1.562 kB / 0.9523 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.7179, allocations: 42.48 kB / 0.9523 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.7179, allocations: 5.438 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003462/0.7183, allocations: 90.08 kB / 0.9524 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.7183, allocations: 52.84 kB / 0.9525 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.202e-05/0.7184, allocations: 117.9 kB / 0.9526 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.7184, allocations: 25.7 kB / 0.9526 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/0.7184, allocations: 94.75 kB / 0.9527 GB, free: 6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.7184, allocations: 17.59 kB / 0.9527 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.7185, allocations: 11.78 kB / 0.9527 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.7185, allocations: 324.3 kB / 0.953 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.394e-05/0.7186, allocations: 21.48 kB / 0.9531 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.36e-05/0.7187, allocations: 13.92 kB / 0.9531 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.7189, allocations: 44.28 kB / 0.9531 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7189, allocations: 0 / 0.9531 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001833/0.719, allocations: 70.38 kB / 0.9532 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.7191, allocations: 6.031 kB / 0.9532 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.7191, allocations: 0 / 0.9532 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.7191, allocations: 0 / 0.9532 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.364e-05/0.7192, allocations: 11.86 kB / 0.9532 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.7192, allocations: 3.984 kB / 0.9532 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.7192, allocations: 3.5 kB / 0.9532 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.7193, allocations: 5.156 kB / 0.9532 GB, free: 5.539 MB / 0.7169 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 5.43e-05/0.7193, allocations: 116.3 kB / 0.9533 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.7193, allocations: 14.52 kB / 0.9533 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.7194, allocations: 4.906 kB / 0.9533 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7194, allocations: 1.344 kB / 0.9533 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7194, allocations: 0 / 0.9533 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.7194, allocations: 0 / 0.9533 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.7195, allocations: 175.8 kB / 0.9535 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.7195, allocations: 3.984 kB / 0.9535 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.7196, allocations: 10.34 kB / 0.9535 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.7196, allocations: 1.406 kB / 0.9535 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.7196, allocations: 0 / 0.9535 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.7197, allocations: 1.281 kB / 0.9535 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7197, allocations: 7.922 kB / 0.9535 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.7199, allocations: 169.8 kB / 0.9537 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.7199, allocations: 78.48 kB / 0.9538 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.7199, allocations: 7.984 kB / 0.9538 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.72, allocations: 4.312 kB / 0.9538 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.7201, allocations: 1.406 kB / 0.9538 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.7201, allocations: 7.938 kB / 0.9538 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.7201, allocations: 94.33 kB / 0.9539 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7201, allocations: 0 / 0.9539 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002146/0.7203, allocations: 10.06 kB / 0.9539 GB, free: 4.82 MB / 0.7169 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 8.257e-05/0.7204, allocations: 102.2 kB / 0.954 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002228/0.7206, allocations: 39.72 kB / 0.954 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7207, allocations: 0 / 0.954 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.7207, allocations: 20.45 kB / 0.954 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.7211, allocations: 2.406 kB / 0.954 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.7214, allocations: 168.3 kB / 0.9542 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.7216, allocations: 0.6889 MB / 0.9549 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.7216, allocations: 6.547 kB / 0.9549 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.7216, allocations: 8.719 kB / 0.9549 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7216, allocations: 0 / 0.9549 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of Templates: time 0.002467/0.7241, allocations: 444.9 kB / 0.9553 GB, free: 3.609 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches