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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002332/0.002332, allocations: 286.9 kB / 303.6 MB, free: 3.734 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.008/1.008, allocations: 180.9 MB / 0.5268 GB, free: 2.719 MB / 382.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 103.8 kB / 0.7259 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4896/0.4922, allocations: 94.15 MB / 0.8178 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002361/0.4946, allocations: 1.531 MB / 0.8193 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006294/0.4952, allocations: 455.8 kB / 0.8198 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.146e-05/0.4952, allocations: 1.781 kB / 0.8198 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.4953, allocations: 3.938 kB / 0.8198 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.4953, allocations: 8.781 kB / 0.8198 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.4955, allocations: 27.97 kB / 0.8198 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.854e-05/0.4956, allocations: 43.47 kB / 0.8198 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.4957, allocations: 21.73 kB / 0.8199 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.4958, allocations: 22.05 kB / 0.8199 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.091e-05/0.4958, allocations: 25.09 kB / 0.8199 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.4959, allocations: 3.562 kB / 0.8199 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.4959, allocations: 3.969 kB / 0.8199 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.4959, allocations: 12.81 kB / 0.8199 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.4959, allocations: 20.78 kB / 0.8199 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.735e-05/0.496, allocations: 42.55 kB / 0.82 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.496, allocations: 0 / 0.82 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.496, allocations: 1.562 kB / 0.82 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.496, allocations: 0 / 0.82 GB, free: 5.93 MB / 0.5762 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.0004077/0.4964, allocations: 358.2 kB / 0.8203 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.4964, allocations: 8.688 kB / 0.8203 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.4965, allocations: 7.609 kB / 0.8203 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.599e-05/0.4966, allocations: 183 kB / 0.8205 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.4966, allocations: 10.06 kB / 0.8205 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.4966, allocations: 2.781 kB / 0.8205 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.4968, allocations: 68.98 kB / 0.8206 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.4968, allocations: 0.875 kB / 0.8206 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.4968, allocations: 0 / 0.8206 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4968, allocations: 1.594 kB / 0.8206 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.497, allocations: 42.02 kB / 0.8206 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.4973, allocations: 294.9 kB / 0.8209 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.4976, allocations: 60.17 kB / 0.821 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.743e-05/0.4977, allocations: 25.89 kB / 0.821 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.4977, allocations: 3.938 kB / 0.821 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.4977, allocations: 35.72 kB / 0.821 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4977, allocations: 0 / 0.821 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003452/0.4981, allocations: 89.81 kB / 0.8211 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.4981, allocations: 51.41 kB / 0.8212 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.881e-05/0.4982, allocations: 125.2 kB / 0.8213 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.4982, allocations: 25.7 kB / 0.8213 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.527e-05/0.4982, allocations: 94.27 kB / 0.8214 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.4982, allocations: 9.5 kB / 0.8214 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.4982, allocations: 13.94 kB / 0.8214 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.002e-05/0.4983, allocations: 322 kB / 0.8217 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.4984, allocations: 17.81 kB / 0.8218 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.4984, allocations: 17.34 kB / 0.8218 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.4986, allocations: 39.98 kB / 0.8218 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4986, allocations: 0 / 0.8218 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001845/0.4988, allocations: 76.42 kB / 0.8219 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.4988, allocations: 5.562 kB / 0.8219 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4988, allocations: 0 / 0.8219 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4988, allocations: 1.219 kB / 0.8219 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/0.4989, allocations: 9.703 kB / 0.8219 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4989, allocations: 1.281 kB / 0.8219 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.4989, allocations: 10.84 kB / 0.8219 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.4989, allocations: 5.469 kB / 0.8219 GB, free: 4.137 MB / 0.5762 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 4.182e-05/0.499, allocations: 115.2 kB / 0.822 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.499, allocations: 3.188 kB / 0.822 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.499, allocations: 9.703 kB / 0.822 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.499, allocations: 3.234 kB / 0.822 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.499, allocations: 1.406 kB / 0.822 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.499, allocations: 3.984 kB / 0.822 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.4992, allocations: 182 kB / 0.8222 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4992, allocations: 4 kB / 0.8222 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.4992, allocations: 13.23 kB / 0.8222 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4992, allocations: 1.5 kB / 0.8222 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.4992, allocations: 3.938 kB / 0.8222 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4992, allocations: 0 / 0.8222 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4992, allocations: 5.5 kB / 0.8222 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.4994, allocations: 166.7 kB / 0.8224 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.4995, allocations: 82.41 kB / 0.8225 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.4995, allocations: 4.594 kB / 0.8225 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.965e-05/0.4996, allocations: 2.5 kB / 0.8225 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.4996, allocations: 5.281 kB / 0.8225 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.4996, allocations: 4.781 kB / 0.8225 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.492e-05/0.4996, allocations: 92.44 kB / 0.8226 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4996, allocations: 1.156 kB / 0.8226 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002136/0.4999, allocations: 13.22 kB / 0.8226 GB, free: 3.441 MB / 0.5762 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.809e-05/0.4999, allocations: 98.66 kB / 0.8227 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.5001, allocations: 45.12 kB / 0.8227 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5001, allocations: 0 / 0.8227 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.565e-05/0.5002, allocations: 19.44 kB / 0.8228 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.5005, allocations: 5.109 kB / 0.8228 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.5008, allocations: 174.2 kB / 0.8229 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.5009, allocations: 0.6842 MB / 0.8236 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.501, allocations: 9.344 kB / 0.8236 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.501, allocations: 0 / 0.8236 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of Templates: time 0.002207/0.5032, allocations: 0.7249 MB / 0.8243 GB, free: 2.422 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.849831820931286] Failed to read output from testmodel.py, exit status != 0: 0.5103429590817541 0.521663989 0.022710894000000002 Calling exit ...