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.7721/0.7721, allocations: 127.4 MB / 134.9 MB, free: 3.723 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001104, allocations: 176.9 kB / 164.7 MB, free: 6.543 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.787/1.787, allocations: 205.2 MB / 399.5 MB, free: 5.883 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.001025/0.001025, allocations: 86.47 kB / 476.7 MB, free: 8.605 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.029e-05/2.045e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.183, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6269/0.81, allocations: 102.9 MB / 0.7221 GB, free: 12.42 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.8104, allocations: 76.55 kB / 0.7222 GB, free: 12.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004278/0.8147, allocations: 1.464 MB / 0.7236 GB, free: 11.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.8147, allocations: 0 / 0.7236 GB, free: 11.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.8147, allocations: 0 / 0.7236 GB, free: 11.14 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.0004846/0.8152, allocations: 362.1 kB / 0.724 GB, free: 10.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.8153, allocations: 8.031 kB / 0.724 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.8153, allocations: 12.64 kB / 0.724 GB, free: 10.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.8155, allocations: 175 kB / 0.7242 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.8155, allocations: 0 / 0.7242 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.8156, allocations: 4 kB / 0.7242 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.483e-05/0.8157, allocations: 19.75 kB / 0.7242 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.8158, allocations: 49.19 kB / 0.7242 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.8158, allocations: 0 / 0.7242 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.8158, allocations: 3.75 kB / 0.7242 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.8159, allocations: 7.938 kB / 0.7243 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.8164, allocations: 280.8 kB / 0.7245 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.8166, allocations: 42.31 kB / 0.7246 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.8166, allocations: 19.2 kB / 0.7246 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.8167, allocations: 4 kB / 0.7246 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.8167, allocations: 34.5 kB / 0.7246 GB, free: 10.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.8167, allocations: 0 / 0.7246 GB, free: 10.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001793/0.8169, allocations: 54.45 kB / 0.7247 GB, free: 9.984 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.8169, allocations: 55.34 kB / 0.7247 GB, free: 9.922 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.431e-05/0.817, allocations: 104.9 kB / 0.7248 GB, free: 9.816 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.8171, allocations: 25.7 kB / 0.7248 GB, free: 9.785 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.8171, allocations: 88 kB / 0.7249 GB, free: 9.699 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.8171, allocations: 15.84 kB / 0.7249 GB, free: 9.684 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.8172, allocations: 0 / 0.7249 GB, free: 9.684 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.8173, allocations: 314.8 kB / 0.7252 GB, free: 9.367 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.8173, allocations: 7.625 kB / 0.7253 GB, free: 9.363 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.8173, allocations: 7.938 kB / 0.7253 GB, free: 9.359 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.8174, allocations: 7.688 kB / 0.7253 GB, free: 9.355 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8174, allocations: 0 / 0.7253 GB, free: 9.355 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.324e-05/0.8175, allocations: 57.47 kB / 0.7253 GB, free: 9.297 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.8175, allocations: 4 kB / 0.7253 GB, free: 9.293 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.8175, allocations: 3.938 kB / 0.7253 GB, free: 9.289 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.8175, allocations: 7.953 kB / 0.7253 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.545e-05/0.8176, allocations: 11.98 kB / 0.7253 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8176, allocations: 0 / 0.7253 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.49e-05/0.8177, allocations: 8 kB / 0.7254 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.8177, allocations: 3.984 kB / 0.7254 GB, free: 9.258 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.814e-05/0.8178, allocations: 105 kB / 0.7255 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.652e-05/0.8179, allocations: 57.41 kB / 0.7255 GB, free: 9.094 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.8179, allocations: 7.953 kB / 0.7255 GB, free: 9.086 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.818, allocations: 4.344 kB / 0.7255 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.818, allocations: 4 kB / 0.7255 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.818, allocations: 3.938 kB / 0.7255 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.818, allocations: 0 / 0.7255 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.8181, allocations: 150.1 kB / 0.7257 GB, free: 8.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.8182, allocations: 0 / 0.7257 GB, free: 8.898 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.927e-05/0.8182, allocations: 11.98 kB / 0.7257 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.8183, allocations: 0 / 0.7257 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.8183, allocations: 8 kB / 0.7257 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.8183, allocations: 3.953 kB / 0.7257 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8183, allocations: 0 / 0.7257 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.8184, allocations: 143.4 kB / 0.7258 GB, free: 8.727 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.8185, allocations: 85.09 kB / 0.7259 GB, free: 8.625 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.8185, allocations: 0 / 0.7259 GB, free: 8.625 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.348e-05/0.8186, allocations: 4.047 kB / 0.7259 GB, free: 8.621 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.8186, allocations: 15.62 kB / 0.7259 GB, free: 8.609 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.8186, allocations: 8.859 kB / 0.7259 GB, free: 8.602 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.605e-05/0.8187, allocations: 87.53 kB / 0.726 GB, free: 8.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8187, allocations: 3.938 kB / 0.726 GB, free: 8.516 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.8189, allocations: 8 kB / 0.726 GB, free: 8.508 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.0004397/0.8194, allocations: 0.6727 MB / 0.7267 GB, free: 7.812 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.645e-05/0.8195, allocations: 23.86 kB / 0.7267 GB, free: 7.797 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8195, allocations: 0 / 0.7267 GB, free: 7.797 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.668e-05/0.8195, allocations: 11.94 kB / 0.7267 GB, free: 7.785 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.8197, allocations: 11.64 kB / 0.7267 GB, free: 7.777 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.8201, allocations: 105.3 kB / 0.7268 GB, free: 7.641 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.8204, allocations: 0.6885 MB / 0.7275 GB, free: 6.926 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.139e-05/0.8204, allocations: 4 kB / 0.7275 GB, free: 6.922 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/0.8205, allocations: 19.06 kB / 0.7275 GB, free: 6.91 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.8205, allocations: 0 / 0.7275 GB, free: 6.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.8398, allocations: 0.8589 MB / 0.7284 GB, free: 6.059 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.8401, allocations: 149.6 kB / 0.7285 GB, free: 5.871 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/2.379, allocations: 0 / 0.7285 GB, free: 5.871 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)