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.001652/0.001652, allocations: 107.9 kB / 16.27 MB, free: 6.414 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.002032/0.002032, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.493/1.493, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.293/2.293, allocations: 390.3 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 65.23 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2847, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003328/0.2881, allocations: 1.515 MB / 0.9517 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007952/0.2889, allocations: 442.9 kB / 0.9522 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.289, allocations: 4 kB / 0.9522 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.289, allocations: 3.938 kB / 0.9522 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/0.2891, allocations: 3.938 kB / 0.9522 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.2894, allocations: 27.89 kB / 0.9522 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.023e-05/0.2895, allocations: 51.8 kB / 0.9522 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2896, allocations: 27.88 kB / 0.9523 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.2897, allocations: 23.86 kB / 0.9523 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.2898, allocations: 23.91 kB / 0.9523 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.2898, allocations: 4 kB / 0.9523 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.2898, allocations: 4 kB / 0.9523 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.2898, allocations: 7.938 kB / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.2899, allocations: 19.86 kB / 0.9524 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.29, allocations: 51.88 kB / 0.9524 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.29, allocations: 0 / 0.9524 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.422e-06/0.29, allocations: 0 / 0.9524 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.29, allocations: 0 / 0.9524 GB, free: 6.68 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.0006189/0.2907, allocations: 347.7 kB / 0.9527 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2907, allocations: 12.03 kB / 0.9527 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.2908, allocations: 8.844 kB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.2909, allocations: 176.2 kB / 0.9529 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.2909, allocations: 8.375 kB / 0.9529 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.2909, allocations: 4.375 kB / 0.9529 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.2912, allocations: 73.91 kB / 0.953 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2912, allocations: 0 / 0.953 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2912, allocations: 4 kB / 0.953 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2912, allocations: 0 / 0.953 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.2914, allocations: 39.97 kB / 0.953 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.2919, allocations: 296.7 kB / 0.9533 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.2922, allocations: 66.48 kB / 0.9534 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.624e-05/0.2923, allocations: 20.91 kB / 0.9534 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.2923, allocations: 7.938 kB / 0.9534 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.2924, allocations: 34.56 kB / 0.9535 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2924, allocations: 4 kB / 0.9535 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003788/0.2928, allocations: 81.64 kB / 0.9535 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.2928, allocations: 55.34 kB / 0.9536 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2929, allocations: 117.8 kB / 0.9537 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.2929, allocations: 25.7 kB / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.293, allocations: 104.1 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.293, allocations: 7.812 kB / 0.9538 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.2931, allocations: 17.72 kB / 0.9539 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2933, allocations: 318.8 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.36e-05/0.2934, allocations: 19.98 kB / 0.9542 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.751e-05/0.2934, allocations: 19.92 kB / 0.9542 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.2936, allocations: 36.84 kB / 0.9542 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2936, allocations: 3.984 kB / 0.9542 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002233/0.2939, allocations: 69.61 kB / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2939, allocations: 9.562 kB / 0.9543 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2939, allocations: 0 / 0.9543 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.2939, allocations: 0 / 0.9543 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.294, allocations: 7.984 kB / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.294, allocations: 4 kB / 0.9543 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.752e-05/0.2941, allocations: 7.906 kB / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.2941, allocations: 4 kB / 0.9543 GB, free: 4.484 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 8.108e-05/0.2942, allocations: 121.3 kB / 0.9544 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.2942, allocations: 4 kB / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.2943, allocations: 7.906 kB / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2943, allocations: 4 kB / 0.9545 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2943, allocations: 0 / 0.9545 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2943, allocations: 0 / 0.9545 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.2945, allocations: 173.6 kB / 0.9546 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2945, allocations: 4.328 kB / 0.9546 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-05/0.2946, allocations: 8 kB / 0.9546 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2946, allocations: 0 / 0.9546 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.2946, allocations: 7.922 kB / 0.9546 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2946, allocations: 0 / 0.9546 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2946, allocations: 0 / 0.9546 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.2949, allocations: 175.3 kB / 0.9548 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.2949, allocations: 89.02 kB / 0.9549 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.2949, allocations: 11.98 kB / 0.9549 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-05/0.295, allocations: 0 / 0.9549 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.2951, allocations: 4 kB / 0.9549 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.2951, allocations: 0 / 0.9549 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.745e-05/0.2951, allocations: 95.27 kB / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/0.2951, allocations: 0 / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002227/0.2954, allocations: 11.94 kB / 0.955 GB, free: 3.688 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 9.933e-05/0.2955, allocations: 107.2 kB / 0.9551 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.2957, allocations: 39.91 kB / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2957, allocations: 0 / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.11e-05/0.2958, allocations: 19.98 kB / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.2961, allocations: 8 kB / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.2965, allocations: 164.4 kB / 0.9553 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.2968, allocations: 0.6922 MB / 0.956 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.2969, allocations: 11.38 kB / 0.956 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.2969, allocations: 0 / 0.956 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of Templates: time 0.002069/0.299, allocations: 0.714 MB / 0.9567 GB, free: 1.875 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 -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) "" Variables in the reference:time,cheEqu.y,cheEqu.u1,cheEqu.u2 Variables in the result:cheEqu.u1,cheEqu.u2,cheEqu.y,time