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.006775/0.006775, allocations: 99.16 kB / 15.73 MB, free: 6.008 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.001643/0.001643, allocations: 189.6 kB / 16.67 MB, free: 5.926 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 290.4 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9499/0.9499, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 95.86 kB / 0.6814 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4201, allocations: 86.98 MB / 0.7664 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002621/0.4228, allocations: 1.525 MB / 0.7678 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007115/0.4235, allocations: 436.8 kB / 0.7683 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.106e-05/0.4236, allocations: 4 kB / 0.7683 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.4237, allocations: 3.938 kB / 0.7683 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.674e-05/0.4237, allocations: 7.875 kB / 0.7683 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.424, allocations: 23.97 kB / 0.7683 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.4241, allocations: 43.86 kB / 0.7683 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.4242, allocations: 15.97 kB / 0.7684 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.4243, allocations: 27.92 kB / 0.7684 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.108e-05/0.4244, allocations: 23.86 kB / 0.7684 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.4244, allocations: 4 kB / 0.7684 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.4245, allocations: 4 kB / 0.7684 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.4245, allocations: 15.92 kB / 0.7684 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.4245, allocations: 23.86 kB / 0.7684 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.4246, allocations: 43.62 kB / 0.7685 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4247, allocations: 0 / 0.7685 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4247, allocations: 0 / 0.7685 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.83e-06/0.4247, allocations: 0 / 0.7685 GB, free: 1.707 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.0005695/0.4252, allocations: 365.1 kB / 0.7688 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4253, allocations: 12.03 kB / 0.7689 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.4253, allocations: 8.828 kB / 0.7689 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.4255, allocations: 172.3 kB / 0.769 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.4255, allocations: 4.375 kB / 0.769 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.4255, allocations: 384 / 0.769 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.4257, allocations: 77.95 kB / 0.7691 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.4258, allocations: 0 / 0.7691 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.4258, allocations: 0 / 0.7691 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4258, allocations: 0 / 0.7691 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.426, allocations: 43.91 kB / 0.7691 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.4264, allocations: 300.7 kB / 0.7694 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.4268, allocations: 66.47 kB / 0.7695 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.027e-05/0.4269, allocations: 24.91 kB / 0.7695 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.4269, allocations: 4 kB / 0.7695 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.4269, allocations: 34.5 kB / 0.7696 GB, free: 472 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4269, allocations: 0 / 0.7696 GB, free: 472 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.00035/0.4273, allocations: 89.64 kB / 0.7696 GB, free: 376 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.4273, allocations: 51.41 kB / 0.7697 GB, free: 312 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.4274, allocations: 121.8 kB / 0.7698 GB, free: 180 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.4274, allocations: 29.7 kB / 0.7698 GB, free: 144 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.4275, allocations: 88.14 kB / 0.7699 GB, free: 52 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.4275, allocations: 11.91 kB / 0.7699 GB, free: 40 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.4275, allocations: 17.7 kB / 0.7699 GB, free: 16 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.4276, allocations: 318.9 kB / 0.7703 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/0.4277, allocations: 15.98 kB / 0.7703 GB, free: 15.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.4278, allocations: 19.92 kB / 0.7703 GB, free: 15.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.428, allocations: 44.83 kB / 0.7703 GB, free: 15.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.428, allocations: 0 / 0.7703 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002114/0.4283, allocations: 69.62 kB / 0.7704 GB, free: 15.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.4283, allocations: 4 kB / 0.7704 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.4283, allocations: 7.984 kB / 0.7704 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4283, allocations: 3.938 kB / 0.7704 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.336e-05/0.4284, allocations: 4 kB / 0.7704 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.4284, allocations: 4 kB / 0.7704 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.318e-05/0.4285, allocations: 7.984 kB / 0.7704 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.4285, allocations: 4 kB / 0.7704 GB, free: 15.5 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 7.163e-05/0.4286, allocations: 113.7 kB / 0.7705 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.4286, allocations: 4 kB / 0.7705 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.4286, allocations: 7.906 kB / 0.7705 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4286, allocations: 0 / 0.7705 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4286, allocations: 7.984 kB / 0.7706 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4287, allocations: 0 / 0.7706 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.4288, allocations: 181.5 kB / 0.7707 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4288, allocations: 0 / 0.7707 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.4289, allocations: 15.92 kB / 0.7707 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4289, allocations: 0 / 0.7707 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.4289, allocations: 0 / 0.7707 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4289, allocations: 0 / 0.7707 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4289, allocations: 0 / 0.7707 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.4292, allocations: 175.5 kB / 0.7709 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.4292, allocations: 81.06 kB / 0.771 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.4293, allocations: 4 kB / 0.771 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.38e-05/0.4294, allocations: 3.984 kB / 0.771 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.4294, allocations: 7.938 kB / 0.771 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.4294, allocations: 4 kB / 0.771 GB, free: 14.81 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.928e-05/0.4295, allocations: 95.27 kB / 0.7711 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4295, allocations: 4 kB / 0.7711 GB, free: 14.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002166/0.4297, allocations: 7.938 kB / 0.7711 GB, free: 14.7 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 0.0001254/0.4298, allocations: 102.6 kB / 0.7712 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.43, allocations: 40.34 kB / 0.7712 GB, free: 14.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4301, allocations: 0 / 0.7712 GB, free: 14.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.878e-05/0.4301, allocations: 19.98 kB / 0.7713 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.4304, allocations: 7.922 kB / 0.7713 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.4308, allocations: 150.7 kB / 0.7714 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.431, allocations: 0.6807 MB / 0.7721 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.25e-05/0.431, allocations: 12.14 kB / 0.7721 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.4311, allocations: 7.438 kB / 0.7721 GB, free: 13.64 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.4311, allocations: 0 / 0.7721 GB, free: 13.64 MB / 0.545 GB Notification: Performance of Templates: time 0.00232/0.4334, allocations: 483.6 kB / 0.7726 GB, free: 13.17 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)