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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002406/0.002406, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003424/0.003424, allocations: 286.6 kB / 312.7 MB, free: 2.785 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.217/1.217, allocations: 180.6 MB / 0.5369 GB, free: 12.97 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.005161/0.005161, allocations: 107.8 kB / 0.7396 GB, free: 28.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2047, allocations: 95.38 MB / 0.8327 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002926/0.2076, allocations: 1.575 MB / 0.8342 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000933/0.2085, allocations: 0.5043 MB / 0.8347 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.2086, allocations: 8 kB / 0.8347 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.2086, allocations: 3.938 kB / 0.8347 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.2087, allocations: 7.875 kB / 0.8348 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.2089, allocations: 31.89 kB / 0.8348 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.2091, allocations: 47.84 kB / 0.8348 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.2092, allocations: 12 kB / 0.8348 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.2093, allocations: 31.86 kB / 0.8349 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.62e-05/0.2094, allocations: 27.84 kB / 0.8349 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.2094, allocations: 8 kB / 0.8349 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.945e-05/0.2094, allocations: 7.984 kB / 0.8349 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.2094, allocations: 12 kB / 0.8349 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.2095, allocations: 15.88 kB / 0.8349 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.2096, allocations: 56.02 kB / 0.835 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2096, allocations: 0 / 0.835 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2096, allocations: 0 / 0.835 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2096, allocations: 0 / 0.835 GB, free: 6.309 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.0005409/0.2102, allocations: 291.1 kB / 0.8353 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.2102, allocations: 13.34 kB / 0.8353 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.2102, allocations: 38.73 kB / 0.8353 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.2104, allocations: 8.938 kB / 0.8353 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.2106, allocations: 122.4 kB / 0.8354 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.2106, allocations: 4.375 kB / 0.8355 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.2106, allocations: 384 / 0.8355 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.2109, allocations: 73.78 kB / 0.8355 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2109, allocations: 0 / 0.8355 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2109, allocations: 7.922 kB / 0.8355 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2109, allocations: 4 kB / 0.8355 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.2111, allocations: 39.97 kB / 0.8356 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.2115, allocations: 279.7 kB / 0.8358 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.2118, allocations: 66.53 kB / 0.8359 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.104e-05/0.2119, allocations: 24.91 kB / 0.8359 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.2119, allocations: 0 / 0.8359 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.212, allocations: 34.56 kB / 0.836 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.212, allocations: 3.938 kB / 0.836 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003707/0.2123, allocations: 89.61 kB / 0.836 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.2124, allocations: 55.41 kB / 0.8361 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.2125, allocations: 123.2 kB / 0.8362 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.2125, allocations: 25.7 kB / 0.8362 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.2126, allocations: 88.14 kB / 0.8363 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.2126, allocations: 11.91 kB / 0.8363 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.2126, allocations: 17.7 kB / 0.8364 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2128, allocations: 318.8 kB / 0.8367 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.724e-05/0.2129, allocations: 23.98 kB / 0.8367 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.235e-05/0.2129, allocations: 11.98 kB / 0.8367 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.2131, allocations: 44.77 kB / 0.8367 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2131, allocations: 0 / 0.8367 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002013/0.2133, allocations: 65.67 kB / 0.8368 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2133, allocations: 8 kB / 0.8368 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2133, allocations: 4 kB / 0.8368 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.2133, allocations: 3.984 kB / 0.8368 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.2134, allocations: 8 kB / 0.8368 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2134, allocations: 0 / 0.8368 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.408e-05/0.2135, allocations: 11.94 kB / 0.8368 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.2135, allocations: 3.938 kB / 0.8368 GB, free: 4.227 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 8.928e-05/0.2136, allocations: 114.5 kB / 0.8369 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.2136, allocations: 0 / 0.8369 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.2136, allocations: 8 kB / 0.837 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2136, allocations: 4 kB / 0.837 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2136, allocations: 3.938 kB / 0.837 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2136, allocations: 3.984 kB / 0.837 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.2138, allocations: 152.6 kB / 0.8371 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2138, allocations: 0 / 0.8371 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.714e-05/0.2139, allocations: 7.984 kB / 0.8371 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2139, allocations: 4 kB / 0.8371 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2139, allocations: 3.938 kB / 0.8371 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.2139, allocations: 0 / 0.8371 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2139, allocations: 0 / 0.8371 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.2142, allocations: 179.7 kB / 0.8373 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.2142, allocations: 7.891 kB / 0.8373 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.2142, allocations: 0 / 0.8373 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.2143, allocations: 4 kB / 0.8373 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.2143, allocations: 7.984 kB / 0.8373 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.2143, allocations: 4 kB / 0.8373 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.679e-05/0.2144, allocations: 102.1 kB / 0.8374 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2144, allocations: 3.938 kB / 0.8374 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002125/0.2146, allocations: 8 kB / 0.8374 GB, free: 3.547 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 0.0005396/0.2151, allocations: 0.6929 MB / 0.8381 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.2154, allocations: 43.97 kB / 0.8381 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2154, allocations: 0 / 0.8381 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.713e-05/0.2154, allocations: 19.92 kB / 0.8382 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.2157, allocations: 4 kB / 0.8382 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.2173, allocations: 1.362 MB / 0.8395 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.2176, allocations: 0.6846 MB / 0.8402 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.236e-05/0.2176, allocations: 4.25 kB / 0.8402 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.2177, allocations: 19.42 kB / 0.8402 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.2177, allocations: 4 kB / 0.8402 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.2445, allocations: 1.661 MB / 0.8418 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.79, allocations: 8 kB / 0.8418 GB, free: 15.05 MB / 0.5919 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality.fmu > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.105150628998672] Failed to read output from testmodel.py, exit status != 0: 10.89091554299739 10.915180694 10.700671969 Calling exit ...