Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7188/0.7188, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 180.8 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.1 MB / 404.5 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009894/0.0009895, allocations: 82.42 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.38e-05, allocations: 0 / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1806, allocations: 76.76 MB / 0.6282 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6099/0.7906, allocations: 103.3 MB / 0.7291 GB, free: 10.09 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.7909, allocations: 76.2 kB / 0.7292 GB, free: 10.04 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004329/0.7953, allocations: 1.47 MB / 0.7306 GB, free: 8.785 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.546e-06/0.7953, allocations: 0 / 0.7306 GB, free: 8.785 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.7953, allocations: 3.938 kB / 0.7306 GB, free: 8.781 MB / 490.7 MB 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.0004548/0.7958, allocations: 362 kB / 0.7309 GB, free: 8.387 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.7958, allocations: 8.031 kB / 0.7309 GB, free: 8.379 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.003e-05/0.7959, allocations: 33.56 kB / 0.731 GB, free: 8.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.796, allocations: 12.64 kB / 0.731 GB, free: 8.328 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.7961, allocations: 167 kB / 0.7312 GB, free: 8.125 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.7962, allocations: 4 kB / 0.7312 GB, free: 8.121 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.7962, allocations: 7.25 kB / 0.7312 GB, free: 8.117 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.7963, allocations: 52.61 kB / 0.7312 GB, free: 8.066 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.7964, allocations: 3.938 kB / 0.7312 GB, free: 8.062 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.7964, allocations: 3.75 kB / 0.7312 GB, free: 8.062 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.7964, allocations: 4 kB / 0.7312 GB, free: 8.059 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.641e-05/0.7965, allocations: 27.25 kB / 0.7313 GB, free: 8.039 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.797, allocations: 302.7 kB / 0.7315 GB, free: 7.711 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.7972, allocations: 41.77 kB / 0.7316 GB, free: 7.668 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.7973, allocations: 24.19 kB / 0.7316 GB, free: 7.648 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.7973, allocations: 7.891 kB / 0.7316 GB, free: 7.641 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.7974, allocations: 34.56 kB / 0.7316 GB, free: 7.598 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.7974, allocations: 0 / 0.7316 GB, free: 7.598 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002045/0.7976, allocations: 56.34 kB / 0.7317 GB, free: 7.543 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.7976, allocations: 51.41 kB / 0.7317 GB, free: 7.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.7978, allocations: 112.3 kB / 0.7319 GB, free: 7.371 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.7978, allocations: 25.7 kB / 0.7319 GB, free: 7.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.7979, allocations: 87.12 kB / 0.732 GB, free: 7.254 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.7979, allocations: 19.91 kB / 0.732 GB, free: 7.234 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.7979, allocations: 3.562 kB / 0.732 GB, free: 7.234 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7981, allocations: 314.8 kB / 0.7323 GB, free: 6.918 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.7981, allocations: 7.188 kB / 0.7323 GB, free: 6.914 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.902e-05/0.7981, allocations: 10.75 kB / 0.7323 GB, free: 6.906 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.7982, allocations: 6.938 kB / 0.7323 GB, free: 6.902 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.7982, allocations: 0 / 0.7323 GB, free: 6.902 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.657e-05/0.7983, allocations: 55.16 kB / 0.7324 GB, free: 6.848 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.7983, allocations: 12.89 kB / 0.7324 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.7983, allocations: 0 / 0.7324 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.7983, allocations: 4 kB / 0.7324 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/0.7984, allocations: 11.98 kB / 0.7324 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.7984, allocations: 3.938 kB / 0.7324 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.7985, allocations: 8 kB / 0.7324 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.7985, allocations: 3.312 kB / 0.7324 GB, free: 6.809 MB / 490.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/0.7986, allocations: 105 kB / 0.7325 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.7986, allocations: 7.906 kB / 0.7325 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.7987, allocations: 15.86 kB / 0.7325 GB, free: 6.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.7987, allocations: 0 / 0.7325 GB, free: 6.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.7987, allocations: 0 / 0.7325 GB, free: 6.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.7987, allocations: 4 kB / 0.7325 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.7989, allocations: 168.4 kB / 0.7327 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7989, allocations: 0.875 kB / 0.7327 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.069e-05/0.799, allocations: 8 kB / 0.7327 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.799, allocations: 0 / 0.7327 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.799, allocations: 7.984 kB / 0.7327 GB, free: 6.453 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.799, allocations: 3.953 kB / 0.7327 GB, free: 6.449 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.799, allocations: 4 kB / 0.7327 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.7992, allocations: 158.2 kB / 0.7329 GB, free: 6.285 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.7992, allocations: 77.34 kB / 0.7329 GB, free: 6.191 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.7993, allocations: 0 / 0.7329 GB, free: 6.191 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.7994, allocations: 11.98 kB / 0.7329 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.7994, allocations: 7.938 kB / 0.733 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.7994, allocations: 4 kB / 0.733 GB, free: 6.168 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.416e-05/0.7995, allocations: 100 kB / 0.7331 GB, free: 6.078 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7995, allocations: 0 / 0.7331 GB, free: 6.078 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000188/0.7997, allocations: 8 kB / 0.7331 GB, free: 6.07 MB / 490.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005006/0.8002, allocations: 0.6795 MB / 0.7337 GB, free: 5.375 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.8003, allocations: 32.62 kB / 0.7338 GB, free: 5.352 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8003, allocations: 0 / 0.7338 GB, free: 5.352 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.127e-05/0.8004, allocations: 19.67 kB / 0.7338 GB, free: 5.336 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.8006, allocations: 3.953 kB / 0.7338 GB, free: 5.332 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.801, allocations: 112.9 kB / 0.7339 GB, free: 5.191 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.8013, allocations: 0.6848 MB / 0.7346 GB, free: 4.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.934e-05/0.8013, allocations: 8.234 kB / 0.7346 GB, free: 4.473 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.8014, allocations: 18.94 kB / 0.7346 GB, free: 4.461 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.8014, allocations: 0 / 0.7346 GB, free: 4.461 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.8152, allocations: 1.25 MB / 0.7358 GB, free: 3.336 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/0.8155, allocations: 168.6 kB / 0.736 GB, free: 3.109 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.419, allocations: 2.391 kB / 0.736 GB, free: 3.109 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Diagnostics_Validation_CheckEquality.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)