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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_10_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.0008317/0.0008318, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007285/0.007286, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003795, allocations: 12 kB / 0.8728 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7078/0.7082, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002016/0.7103, allocations: 1.244 MB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007618/0.7111, allocations: 439.1 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.7112, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.7112, allocations: 3.938 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.723e-05/0.7113, allocations: 3.938 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.7115, allocations: 23.97 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.613e-05/0.7116, allocations: 35.86 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.7117, allocations: 23.98 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.7118, allocations: 15.86 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.7119, allocations: 23.91 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.7119, allocations: 0 / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.7119, allocations: 4 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.7119, allocations: 7.938 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.712, allocations: 45.5 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.187e-05/0.7121, allocations: 35.89 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7121, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7121, allocations: 4 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.7121, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.7794 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.000529/0.7126, allocations: 357.3 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.7127, allocations: 12.02 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.7127, allocations: 8.844 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.7129, allocations: 172.3 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.7129, allocations: 4.375 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.7129, allocations: 8.359 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.7132, allocations: 69.92 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.7132, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.7132, allocations: 4 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.7132, allocations: 7.938 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.7134, allocations: 51.95 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.7139, allocations: 292.7 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.7143, allocations: 74.55 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.7144, allocations: 28.84 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.7144, allocations: 0 / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.7144, allocations: 34.56 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.7144, allocations: 4 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003946/0.7148, allocations: 101.5 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.7149, allocations: 51.41 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.715, allocations: 121.8 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.715, allocations: 29.7 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.7151, allocations: 92.12 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.7151, allocations: 7.844 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.7152, allocations: 13.72 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.7153, allocations: 322.8 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.912e-05/0.7154, allocations: 19.98 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.624e-05/0.7155, allocations: 23.98 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.7157, allocations: 40.84 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.7157, allocations: 0 / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002414/0.7159, allocations: 89.5 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.716, allocations: 8 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.716, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.716, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.336e-05/0.7161, allocations: 15.92 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.7161, allocations: 3.984 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.188e-05/0.7162, allocations: 8 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.7162, allocations: 4 kB / 1.027 GB, free: 11.64 MB / 0.7794 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.0001088/0.7163, allocations: 113.8 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.7163, allocations: 7.906 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.398e-05/0.7164, allocations: 15.89 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.7164, allocations: 0 / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.7164, allocations: 7.938 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7164, allocations: 0 / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.7167, allocations: 173.7 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.7167, allocations: 4.328 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.909e-05/0.7167, allocations: 11.98 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.7168, allocations: 0 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.7168, allocations: 4 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.7168, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.7168, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.7171, allocations: 187.3 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.7172, allocations: 81.11 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.7172, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.7173, allocations: 11.98 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.7173, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.7173, allocations: 4 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.142e-05/0.7174, allocations: 95.7 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.81e-07/0.7174, allocations: 0 / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002254/0.7177, allocations: 11.94 kB / 1.028 GB, free: 10.84 MB / 0.7794 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.0001276/0.7178, allocations: 99.23 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002572/0.7181, allocations: 51.89 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7181, allocations: 4 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.7182, allocations: 23.98 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.7185, allocations: 7.984 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005563/0.7191, allocations: 172.5 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.7195, allocations: 0.6809 MB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.323e-05/0.7196, allocations: 8.234 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.7196, allocations: 7.438 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.7196, allocations: 0 / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of Templates: time 0.002846/0.7225, allocations: 430.4 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches