Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002421/0.002421, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002869/0.002869, allocations: 173.2 kB / 22.76 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.588/1.588, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.495/3.495, allocations: 429.5 MB / 0.6729 GB, free: 3.988 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.001e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003095/0.003125, allocations: 1.564 MB / 0.8789 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.00414, allocations: 487.2 kB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.004199, allocations: 3.969 kB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.664e-05/0.004236, allocations: 3.938 kB / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.978e-05/0.004305, allocations: 11.86 kB / 0.8794 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.004564, allocations: 31.84 kB / 0.8794 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.004712, allocations: 51.84 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.004829, allocations: 19.91 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.005014, allocations: 31.92 kB / 0.8795 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.005058, allocations: 19.91 kB / 0.8796 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.005077, allocations: 4 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.005123, allocations: 12.86 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.005138, allocations: 4 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.005172, allocations: 16.98 kB / 0.8796 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.005312, allocations: 47.81 kB / 0.8796 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005314, allocations: 0 / 0.8796 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005315, allocations: 1.062 kB / 0.8796 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.00532, allocations: 4 kB / 0.8796 GB, free: 4.391 MB / 0.8386 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.0006559/0.005976, allocations: 389.2 kB / 0.88 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.006016, allocations: 12.02 kB / 0.88 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.006174, allocations: 20.89 kB / 0.88 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.006371, allocations: 125.5 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.0064, allocations: 8.375 kB / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.006409, allocations: 1.031 kB / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.006609, allocations: 58.23 kB / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.006618, allocations: 3.625 kB / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.006628, allocations: 4.375 kB / 0.8802 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.006635, allocations: 3.938 kB / 0.8802 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.006788, allocations: 31.98 kB / 0.8803 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.007268, allocations: 291.7 kB / 0.8806 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.007585, allocations: 63.05 kB / 0.8806 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.79e-05/0.007673, allocations: 24.61 kB / 0.8806 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.007691, allocations: 0 / 0.8806 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.007724, allocations: 37.98 kB / 0.8807 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.007725, allocations: 0 / 0.8807 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0003418/0.008067, allocations: 78.98 kB / 0.8807 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.008113, allocations: 51.41 kB / 0.8808 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.008262, allocations: 182.4 kB / 0.881 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.008282, allocations: 25.7 kB / 0.881 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.008378, allocations: 148.1 kB / 0.8811 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.008398, allocations: 7.953 kB / 0.8811 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.008449, allocations: 27.36 kB / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002724/0.008722, allocations: 493.4 kB / 0.8816 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.021e-05/0.008802, allocations: 15.98 kB / 0.8817 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.406e-05/0.008866, allocations: 15.94 kB / 0.8817 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.009004, allocations: 40.38 kB / 0.8817 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.009006, allocations: 1.219 kB / 0.8817 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001947/0.0092, allocations: 73.56 kB / 0.8818 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.009214, allocations: 8 kB / 0.8818 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.009218, allocations: 0 / 0.8818 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.009232, allocations: 0 / 0.8818 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.009304, allocations: 11.98 kB / 0.8818 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.009308, allocations: 0 / 0.8818 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.038e-05/0.009349, allocations: 0 / 0.8818 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.009361, allocations: 4 kB / 0.8818 GB, free: 1.988 MB / 0.8386 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.0001376/0.009499, allocations: 156.6 kB / 0.882 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.009536, allocations: 15.83 kB / 0.882 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.009575, allocations: 11.98 kB / 0.882 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.009579, allocations: 8 kB / 0.882 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.009585, allocations: 4 kB / 0.882 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.009587, allocations: 0 / 0.882 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.00977, allocations: 128.6 kB / 0.8821 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.009771, allocations: 0 / 0.8821 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.887e-05/0.00984, allocations: 11.92 kB / 0.8821 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.009842, allocations: 0 / 0.8821 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.009849, allocations: 0 / 0.8821 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.00985, allocations: 4 kB / 0.8821 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.009851, allocations: 0 / 0.8821 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.01014, allocations: 207.9 kB / 0.8823 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.01015, allocations: 11.89 kB / 0.8823 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.01017, allocations: 4 kB / 0.8823 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.01029, allocations: 4 kB / 0.8823 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.01035, allocations: 7.922 kB / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.01036, allocations: 4 kB / 0.8824 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000122/0.01049, allocations: 135.2 kB / 0.8825 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01049, allocations: 0 / 0.8825 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003211/0.01081, allocations: 7.938 kB / 0.8825 GB, free: 1.215 MB / 0.8386 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.0001234/0.01093, allocations: 95.25 kB / 0.8826 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.01115, allocations: 43.67 kB / 0.8826 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01115, allocations: 0 / 0.8826 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/0.01124, allocations: 31.55 kB / 0.8827 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.0115, allocations: 7.938 kB / 0.8827 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.01193, allocations: 158.2 kB / 0.8828 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.613e-05/0.01201, allocations: 71.44 kB / 0.8829 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.04e-05/0.01204, allocations: 8.281 kB / 0.8829 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.01208, allocations: 8.5 kB / 0.8829 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/0.01208, allocations: 0 / 0.8829 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of Templates: time 0.003766/0.01585, allocations: 469.8 kB / 0.8833 GB, free: 292 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.42388013494201]