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.001375/0.001375, allocations: 111.2 kB / 15.99 MB, free: 6.344 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.001473/0.001474, allocations: 195.4 kB / 16.91 MB, free: 6.184 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.461/1.461, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.342/2.342, allocations: 390.3 MB / 0.665 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 58.55 kB / 0.8127 GB, free: 33.17 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2895, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003115/0.2927, allocations: 1.595 MB / 0.9513 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007553/0.2934, allocations: 427 kB / 0.9517 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.2935, allocations: 0 / 0.9517 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.2936, allocations: 11.92 kB / 0.9517 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.231e-05/0.2937, allocations: 7.938 kB / 0.9517 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.2938, allocations: 19.98 kB / 0.9518 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.675e-05/0.2939, allocations: 47.78 kB / 0.9518 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.294, allocations: 23.89 kB / 0.9518 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.2942, allocations: 19.92 kB / 0.9518 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.482e-05/0.2942, allocations: 27.91 kB / 0.9519 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.2942, allocations: 4 kB / 0.9519 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.2942, allocations: 4 kB / 0.9519 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.2943, allocations: 11.92 kB / 0.9519 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.2943, allocations: 23.86 kB / 0.9519 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.49e-05/0.2944, allocations: 19.97 kB / 0.9519 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.2944, allocations: 0 / 0.9519 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2944, allocations: 0 / 0.9519 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2944, allocations: 0 / 0.9519 GB, free: 6.996 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.0004598/0.2949, allocations: 367.7 kB / 0.9523 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2949, allocations: 8.031 kB / 0.9523 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.295, allocations: 8.844 kB / 0.9523 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.2951, allocations: 168.2 kB / 0.9525 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.2951, allocations: 8.375 kB / 0.9525 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.2951, allocations: 4.312 kB / 0.9525 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.2954, allocations: 73.95 kB / 0.9525 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.2954, allocations: 0 / 0.9525 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.2954, allocations: 0 / 0.9525 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2954, allocations: 4 kB / 0.9525 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.2956, allocations: 39.97 kB / 0.9526 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.2961, allocations: 304.6 kB / 0.9529 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.2964, allocations: 66.53 kB / 0.9529 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.126e-05/0.2965, allocations: 20.91 kB / 0.953 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.2965, allocations: 0 / 0.953 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2966, allocations: 34.56 kB / 0.953 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2966, allocations: 0 / 0.953 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003615/0.2969, allocations: 89.59 kB / 0.9531 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.297, allocations: 51.41 kB / 0.9531 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.2971, allocations: 121.8 kB / 0.9532 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.2971, allocations: 25.7 kB / 0.9533 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.2972, allocations: 96.08 kB / 0.9534 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.2972, allocations: 7.812 kB / 0.9534 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.2972, allocations: 17.7 kB / 0.9534 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2974, allocations: 322.8 kB / 0.9537 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.002e-05/0.2974, allocations: 23.92 kB / 0.9537 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.751e-05/0.2975, allocations: 15.98 kB / 0.9537 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.2977, allocations: 36.83 kB / 0.9538 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2977, allocations: 0 / 0.9538 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002148/0.2979, allocations: 73.61 kB / 0.9538 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.298, allocations: 10.02 kB / 0.9538 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.298, allocations: 4 kB / 0.9538 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.298, allocations: 0 / 0.9538 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.2981, allocations: 8 kB / 0.9539 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2981, allocations: 0 / 0.9539 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.67e-05/0.2981, allocations: 11.89 kB / 0.9539 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.2982, allocations: 0 / 0.9539 GB, free: 4.793 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.243e-05/0.2982, allocations: 117.8 kB / 0.954 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.2983, allocations: 0 / 0.954 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.2983, allocations: 19.91 kB / 0.954 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2983, allocations: 3.984 kB / 0.954 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2983, allocations: 0 / 0.954 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2983, allocations: 0 / 0.954 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.2985, allocations: 169.6 kB / 0.9542 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.2985, allocations: 4 kB / 0.9542 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.075e-05/0.2986, allocations: 7.984 kB / 0.9542 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2986, allocations: 0 / 0.9542 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.2986, allocations: 0 / 0.9542 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.2986, allocations: 7.938 kB / 0.9542 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2986, allocations: 0 / 0.9542 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.2989, allocations: 171.7 kB / 0.9543 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.2989, allocations: 85.02 kB / 0.9544 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.299, allocations: 0 / 0.9544 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.499e-05/0.2991, allocations: 15.92 kB / 0.9544 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.2991, allocations: 4.031 kB / 0.9544 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.2991, allocations: 0 / 0.9544 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.63e-05/0.2992, allocations: 99.27 kB / 0.9545 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.543e-06/0.2992, allocations: 0 / 0.9545 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002154/0.2994, allocations: 11.88 kB / 0.9546 GB, free: 3.992 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 0.0001059/0.2995, allocations: 103.2 kB / 0.9546 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002228/0.2997, allocations: 43.91 kB / 0.9547 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2997, allocations: 0 / 0.9547 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.271e-05/0.2998, allocations: 27.97 kB / 0.9547 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.3001, allocations: 4.078 kB / 0.9547 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.3006, allocations: 176.4 kB / 0.9549 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.3008, allocations: 0.6883 MB / 0.9556 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.3009, allocations: 15.44 kB / 0.9556 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.3009, allocations: 3.938 kB / 0.9556 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of Templates: time 0.002028/0.3029, allocations: 0.7105 MB / 0.9563 GB, free: 2.16 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