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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001287/0.001287, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001365/0.001365, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.217/1.217, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.016/2.016, allocations: 390.3 MB / 0.6655 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001239, allocations: 59.81 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2312, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002421/0.2337, allocations: 1.53 MB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005839/0.2343, allocations: 443 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.2343, allocations: 0 / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.2344, allocations: 3.938 kB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.057e-05/0.2344, allocations: 7.875 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.2346, allocations: 19.98 kB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.1e-05/0.2347, allocations: 55.78 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.691e-05/0.2348, allocations: 27.88 kB / 0.9531 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.715e-05/0.2349, allocations: 19.88 kB / 0.9531 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.848e-05/0.2349, allocations: 23.91 kB / 0.9532 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2349, allocations: 4 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.2349, allocations: 4 kB / 0.9532 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.235, allocations: 11.94 kB / 0.9532 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.235, allocations: 23.84 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.569e-05/0.2351, allocations: 39.83 kB / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2351, allocations: 0 / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2351, allocations: 0 / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2351, allocations: 4 kB / 0.9533 GB, free: 5.816 MB / 0.7325 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.0004254/0.2355, allocations: 355.4 kB / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.2356, allocations: 8.031 kB / 0.9536 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.2356, allocations: 12.83 kB / 0.9536 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.2357, allocations: 172.2 kB / 0.9538 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.2357, allocations: 4.375 kB / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.2358, allocations: 4.375 kB / 0.9538 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.2359, allocations: 65.98 kB / 0.9538 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2359, allocations: 3.938 kB / 0.9539 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.236, allocations: 7.938 kB / 0.9539 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.236, allocations: 4 kB / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.2361, allocations: 39.95 kB / 0.9539 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.2365, allocations: 292.7 kB / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.2368, allocations: 66.48 kB / 0.9542 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.102e-05/0.2369, allocations: 24.89 kB / 0.9543 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.2369, allocations: 4 kB / 0.9543 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.2369, allocations: 34.56 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2369, allocations: 0 / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002992/0.2372, allocations: 85.64 kB / 0.9544 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.2373, allocations: 55.41 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.186e-05/0.2374, allocations: 117.8 kB / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.2374, allocations: 29.64 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.2374, allocations: 96.06 kB / 0.9547 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.2375, allocations: 11.81 kB / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.2375, allocations: 13.72 kB / 0.9547 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.2376, allocations: 326.8 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.67e-05/0.2377, allocations: 15.98 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.56e-05/0.2377, allocations: 19.98 kB / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.2379, allocations: 32.83 kB / 0.9551 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2379, allocations: 3.938 kB / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001748/0.2381, allocations: 77.67 kB / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.2381, allocations: 4 kB / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.2381, allocations: 0 / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.2381, allocations: 0 / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.15e-05/0.2382, allocations: 15.92 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2382, allocations: 0 / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.2383, allocations: 7.906 kB / 0.9552 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.2383, allocations: 0 / 0.9552 GB, free: 3.621 MB / 0.7325 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 7.152e-05/0.2383, allocations: 121.8 kB / 0.9553 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.2384, allocations: 4 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.2384, allocations: 15.84 kB / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.2384, allocations: 0 / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2384, allocations: 0 / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.2384, allocations: 0 / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.2386, allocations: 177.6 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2386, allocations: 0 / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.313e-05/0.2387, allocations: 4 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2387, allocations: 4 kB / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.2387, allocations: 3.984 kB / 0.9555 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2387, allocations: 4 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2387, allocations: 0 / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.2389, allocations: 167.3 kB / 0.9557 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.239, allocations: 89 kB / 0.9557 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.239, allocations: 4 kB / 0.9557 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.2391, allocations: 4 kB / 0.9557 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.2391, allocations: 4.375 kB / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.2391, allocations: 0 / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.313e-05/0.2391, allocations: 95.27 kB / 0.9558 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2392, allocations: 0 / 0.9558 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002023/0.2394, allocations: 11.94 kB / 0.9559 GB, free: 2.828 MB / 0.7325 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 7.269e-05/0.2394, allocations: 103.2 kB / 0.956 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.2396, allocations: 39.95 kB / 0.956 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2396, allocations: 4 kB / 0.956 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.041e-05/0.2397, allocations: 23.92 kB / 0.956 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.24, allocations: 9.875 kB / 0.956 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.2403, allocations: 138.8 kB / 0.9562 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.2405, allocations: 0.6883 MB / 0.9568 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.709e-05/0.2405, allocations: 8 kB / 0.9568 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.2406, allocations: 11.44 kB / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.2406, allocations: 3.938 kB / 0.9569 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of Templates: time 0.00207/0.2426, allocations: 474.3 kB / 0.9573 GB, free: 1.289 MB / 0.7325 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches