Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001294/0.001294, allocations: 109.5 kB / 16.41 MB, free: 6.453 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.001338/0.001338, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 293.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9388/0.9388, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 99.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4055, allocations: 86.96 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002717/0.4083, allocations: 1.525 MB / 0.7685 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007507/0.4091, allocations: 444.7 kB / 0.7689 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.71e-05/0.4092, allocations: 4 kB / 0.7689 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.4092, allocations: 3.938 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.502e-05/0.4093, allocations: 11.88 kB / 0.7689 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.4095, allocations: 19.97 kB / 0.769 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.507e-05/0.4096, allocations: 39.86 kB / 0.769 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.4097, allocations: 23.97 kB / 0.769 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.4098, allocations: 27.92 kB / 0.769 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.841e-05/0.4099, allocations: 23.86 kB / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.4099, allocations: 4 kB / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-06/0.4099, allocations: 0 / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.41, allocations: 8 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.41, allocations: 23.86 kB / 0.7691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.4101, allocations: 47.41 kB / 0.7691 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4101, allocations: 0 / 0.7691 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4101, allocations: 4 kB / 0.7692 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.4101, allocations: 0 / 0.7692 GB, free: 1.738 MB / 0.5294 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.0005004/0.4106, allocations: 365.9 kB / 0.7695 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.4107, allocations: 8.031 kB / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.4107, allocations: 8.844 kB / 0.7695 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.4109, allocations: 172.3 kB / 0.7697 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.4109, allocations: 4.375 kB / 0.7697 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.4109, allocations: 4.375 kB / 0.7697 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.4111, allocations: 61.98 kB / 0.7697 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.4111, allocations: 4 kB / 0.7698 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.4111, allocations: 3.984 kB / 0.7698 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.4112, allocations: 11.94 kB / 0.7698 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.4113, allocations: 43.95 kB / 0.7698 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.4118, allocations: 288.7 kB / 0.7701 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.4121, allocations: 70.47 kB / 0.7702 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9e-05/0.4122, allocations: 28.84 kB / 0.7702 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.4122, allocations: 0 / 0.7702 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.4122, allocations: 34.55 kB / 0.7702 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.4122, allocations: 0 / 0.7702 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003537/0.4126, allocations: 93.56 kB / 0.7703 GB, free: 404 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.4126, allocations: 51.41 kB / 0.7704 GB, free: 340 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.253e-05/0.4127, allocations: 117.8 kB / 0.7705 GB, free: 212 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.4128, allocations: 25.7 kB / 0.7705 GB, free: 180 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.4128, allocations: 96.06 kB / 0.7706 GB, free: 80 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.4128, allocations: 11.84 kB / 0.7706 GB, free: 68 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.4129, allocations: 9.719 kB / 0.7706 GB, free: 52 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.413, allocations: 330.8 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.555e-05/0.4131, allocations: 15.98 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.227e-05/0.4132, allocations: 15.98 kB / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.4133, allocations: 40.83 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.4133, allocations: 0 / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001924/0.4135, allocations: 69.58 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4135, allocations: 8 kB / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.4136, allocations: 0 / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4136, allocations: 0 / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.4137, allocations: 15.92 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4137, allocations: 0 / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.347e-05/0.4137, allocations: 4 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.4137, allocations: 3.984 kB / 0.7711 GB, free: 15.54 MB / 0.545 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.159e-05/0.4138, allocations: 121.1 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.4139, allocations: 11.91 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.4139, allocations: 7.906 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4139, allocations: 0 / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4139, allocations: 0 / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.4139, allocations: 0 / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.4141, allocations: 177.6 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4141, allocations: 3.938 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.976e-05/0.4142, allocations: 11.98 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4142, allocations: 3.938 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.4142, allocations: 0 / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4142, allocations: 0 / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4142, allocations: 4 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.4144, allocations: 171.3 kB / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.4145, allocations: 81.09 kB / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.4145, allocations: 384 / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.4146, allocations: 4 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.4146, allocations: 11.98 kB / 0.7717 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.4146, allocations: 8 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.716e-05/0.4147, allocations: 91.27 kB / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4147, allocations: 0 / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002122/0.4149, allocations: 11.94 kB / 0.7718 GB, free: 14.74 MB / 0.545 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.053e-05/0.415, allocations: 95.25 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.4152, allocations: 39.95 kB / 0.7719 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4152, allocations: 0 / 0.7719 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.918e-05/0.4154, allocations: 31.92 kB / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.4156, allocations: 0 / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.416, allocations: 176.3 kB / 0.7721 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.4162, allocations: 0.6846 MB / 0.7728 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.4163, allocations: 11.44 kB / 0.7728 GB, free: 13.64 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.4163, allocations: 0 / 0.7728 GB, free: 13.64 MB / 0.545 GB Notification: Performance of Templates: time 0.001944/0.4182, allocations: 0.7134 MB / 0.7735 GB, free: 12.93 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.sim & ./BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)