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.001457/0.001457, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.00168/0.00168, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.003644/0.003644, allocations: 295.8 kB / 313.5 MB, free: 2.605 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.302/1.302, allocations: 180.6 MB / 0.5377 GB, free: 14.41 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality",fmuType="cs",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.002873/0.002873, allocations: 104 kB / 0.7402 GB, free: 28.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1985, allocations: 95.4 MB / 0.8334 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.003232/0.2017, allocations: 1.534 MB / 0.8349 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2027, allocations: 472.5 kB / 0.8353 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.504e-05/0.2028, allocations: 4 kB / 0.8353 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.2028, allocations: 7.922 kB / 0.8353 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.693e-05/0.2029, allocations: 7.875 kB / 0.8354 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.2032, allocations: 39.89 kB / 0.8354 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.2033, allocations: 39.92 kB / 0.8354 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2034, allocations: 11.98 kB / 0.8354 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.2036, allocations: 39.84 kB / 0.8355 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.2036, allocations: 19.86 kB / 0.8355 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.2037, allocations: 4 kB / 0.8355 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.742e-05/0.2037, allocations: 12 kB / 0.8355 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.788e-05/0.2037, allocations: 11.92 kB / 0.8355 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.2038, allocations: 11.94 kB / 0.8355 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.2039, allocations: 52.02 kB / 0.8356 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2039, allocations: 3.938 kB / 0.8356 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2039, allocations: 0 / 0.8356 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.2039, allocations: 4 kB / 0.8356 GB, free: 6.094 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.0005416/0.2045, allocations: 294.1 kB / 0.8359 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.2045, allocations: 13.34 kB / 0.8359 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.002e-05/0.2045, allocations: 192 / 0.8359 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.2046, allocations: 42.72 kB / 0.8359 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.2047, allocations: 12.94 kB / 0.8359 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.2049, allocations: 122.4 kB / 0.8361 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.205, allocations: 8.375 kB / 0.8361 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.205, allocations: 384 / 0.8361 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.2052, allocations: 77.58 kB / 0.8361 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2052, allocations: 0 / 0.8361 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.2052, allocations: 4 kB / 0.8361 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2052, allocations: 0 / 0.8361 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.2054, allocations: 39.97 kB / 0.8362 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.206, allocations: 263.8 kB / 0.8364 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.2064, allocations: 58.55 kB / 0.8365 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.2065, allocations: 28.91 kB / 0.8365 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.2065, allocations: 0 / 0.8365 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.2065, allocations: 34.5 kB / 0.8365 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2065, allocations: 3.938 kB / 0.8366 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004295/0.207, allocations: 93.59 kB / 0.8366 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.207, allocations: 51.41 kB / 0.8367 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.2072, allocations: 120.6 kB / 0.8368 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.2072, allocations: 33.7 kB / 0.8368 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/0.2073, allocations: 92.12 kB / 0.8369 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.2073, allocations: 11.91 kB / 0.8369 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.2073, allocations: 9.719 kB / 0.8369 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2075, allocations: 326.8 kB / 0.8373 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-05/0.2076, allocations: 15.98 kB / 0.8373 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.147e-05/0.2077, allocations: 19.98 kB / 0.8373 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.2079, allocations: 40.77 kB / 0.8373 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2079, allocations: 4 kB / 0.8373 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002344/0.2081, allocations: 65.67 kB / 0.8374 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.2081, allocations: 4 kB / 0.8374 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.2081, allocations: 0 / 0.8374 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.2082, allocations: 4 kB / 0.8374 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.2082, allocations: 11.92 kB / 0.8374 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.2082, allocations: 0 / 0.8374 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/0.2083, allocations: 11.89 kB / 0.8374 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.2083, allocations: 0 / 0.8374 GB, free: 4.02 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 0.0001171/0.2084, allocations: 122.5 kB / 0.8375 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.2085, allocations: 4 kB / 0.8375 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.2085, allocations: 8.328 kB / 0.8376 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.2085, allocations: 3.938 kB / 0.8376 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2085, allocations: 4 kB / 0.8376 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2085, allocations: 7.922 kB / 0.8376 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.2087, allocations: 136.7 kB / 0.8377 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2087, allocations: 0 / 0.8377 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.643e-05/0.2088, allocations: 8 kB / 0.8377 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2088, allocations: 0 / 0.8377 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.2088, allocations: 7.984 kB / 0.8377 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2088, allocations: 0 / 0.8377 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2088, allocations: 4 kB / 0.8377 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.2092, allocations: 163.4 kB / 0.8379 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.2092, allocations: 11.89 kB / 0.8379 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.2092, allocations: 11.92 kB / 0.8379 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.414e-05/0.2093, allocations: 4 kB / 0.8379 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.2093, allocations: 4 kB / 0.8379 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.2094, allocations: 7.922 kB / 0.8379 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.706e-05/0.2094, allocations: 99.22 kB / 0.838 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2094, allocations: 0 / 0.838 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002343/0.2097, allocations: 8 kB / 0.838 GB, free: 3.34 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.0006461/0.2103, allocations: 0.6968 MB / 0.8387 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.2106, allocations: 39.97 kB / 0.8387 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2106, allocations: 0 / 0.8387 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.398e-05/0.2107, allocations: 23.92 kB / 0.8388 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.211, allocations: 18.22 kB / 0.8388 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.2127, allocations: 1.354 MB / 0.8401 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.547e-05/0.2128, allocations: 67.59 kB / 0.8402 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.912e-05/0.2128, allocations: 11.98 kB / 0.8402 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.2129, allocations: 15.62 kB / 0.8402 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of SimCode: time 1.373e-06/0.2129, allocations: 0 / 0.8402 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.2363, allocations: 1.741 MB / 0.8419 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.21, allocations: 6.516 kB / 0.8419 GB, free: 15.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.678986334009096] Failed to read output from testmodel.py, exit status != 0: 11.370227132108994 11.39439778 11.187401634 Calling exit ...