Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.0008719/0.0008719, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0007386/0.0007386, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8484/0.8484, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.692/1.692, allocations: 377.9 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 3.938 kB / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.89e-05, allocations: 6.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5483/0.5483, allocations: 165.3 MB / 1.142 GB, free: 1.41 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.5593, allocations: 11.93 MB / 1.154 GB, free: 9.402 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.5604, allocations: 47.56 kB / 1.154 GB, free: 9.375 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.5617, allocations: 414.5 kB / 1.155 GB, free: 9.129 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002353/0.564, allocations: 0.9883 MB / 1.156 GB, free: 8.566 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.566, allocations: 0.7669 MB / 1.156 GB, free: 8.18 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002247/0.5683, allocations: 1.501 MB / 1.158 GB, free: 7.488 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000808/0.5691, allocations: 0.4963 MB / 1.158 GB, free: 7.246 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003518/0.5726, allocations: 2.047 MB / 1.16 GB, free: 6.324 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.5737, allocations: 463.2 kB / 1.161 GB, free: 6.191 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 8.081e-05/0.5737, allocations: 60.31 kB / 1.161 GB, free: 6.184 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.575, allocations: 0.722 MB / 1.161 GB, free: 5.961 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.5753, allocations: 303 kB / 1.162 GB, free: 5.828 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.5755, allocations: 255.7 kB / 1.162 GB, free: 5.73 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.5771, allocations: 1.181 MB / 1.163 GB, free: 5.316 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.5771, allocations: 0.75 kB / 1.163 GB, free: 5.316 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5771, allocations: 1.281 kB / 1.163 GB, free: 5.316 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.5771, allocations: 0 / 1.163 GB, free: 5.316 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001188/0.5783, allocations: 0.994 MB / 1.164 GB, free: 4.602 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.5783, allocations: 13 kB / 1.164 GB, free: 4.602 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.507e-05/0.5784, allocations: 105.2 kB / 1.164 GB, free: 4.527 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005949/0.579, allocations: 200.9 kB / 1.164 GB, free: 4.465 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.5797, allocations: 491.8 kB / 1.165 GB, free: 4.156 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.5797, allocations: 41.91 kB / 1.165 GB, free: 4.137 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.5798, allocations: 64.39 kB / 1.165 GB, free: 4.113 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008398/0.5806, allocations: 0.7924 MB / 1.166 GB, free: 3.586 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.5806, allocations: 6.656 kB / 1.166 GB, free: 3.582 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.5806, allocations: 23.59 kB / 1.166 GB, free: 3.566 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/0.5807, allocations: 23.27 kB / 1.166 GB, free: 3.566 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00059/0.5813, allocations: 463.8 kB / 1.166 GB, free: 3.406 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.5839, allocations: 4.008 MB / 1.17 GB, free: 15.95 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.5841, allocations: 97.28 kB / 1.17 GB, free: 15.84 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.903e-05/0.5841, allocations: 75.77 kB / 1.17 GB, free: 15.79 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.5842, allocations: 25.06 kB / 1.17 GB, free: 15.79 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.5843, allocations: 37.8 kB / 1.17 GB, free: 15.74 MB / 1.026 GB Notification: Performance of pre-optimization done (n=10): time 2.615e-06/0.5843, allocations: 0 / 1.17 GB, free: 15.74 MB / 1.026 GB Notification: Performance of matching and sorting (n=10): time 0.0004704/0.5847, allocations: 240.8 kB / 1.171 GB, free: 15.64 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.5848, allocations: 132.2 kB / 1.171 GB, free: 15.48 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009051/0.5857, allocations: 0.855 MB / 1.172 GB, free: 15.13 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.5857, allocations: 31.14 kB / 1.172 GB, free: 15.09 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.5859, allocations: 408.6 kB / 1.172 GB, free: 14.77 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.586, allocations: 42.62 kB / 1.172 GB, free: 14.73 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.5861, allocations: 87.94 kB / 1.172 GB, free: 14.68 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.5862, allocations: 326.9 kB / 1.172 GB, free: 14.37 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.5863, allocations: 119.2 kB / 1.173 GB, free: 14.33 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.5867, allocations: 0.5067 MB / 1.173 GB, free: 13.8 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.5871, allocations: 437.3 kB / 1.173 GB, free: 13.42 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5871, allocations: 1.469 kB / 1.173 GB, free: 13.42 MB / 1.026 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006559/0.5877, allocations: 0.4972 MB / 1.174 GB, free: 13.21 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.5877, allocations: 9.328 kB / 1.174 GB, free: 13.21 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5878, allocations: 7.688 kB / 1.174 GB, free: 13.21 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.5878, allocations: 14.19 kB / 1.174 GB, free: 13.21 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.588, allocations: 97.19 kB / 1.174 GB, free: 13.2 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.588, allocations: 15.88 kB / 1.174 GB, free: 13.19 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.5885, allocations: 117.4 kB / 1.174 GB, free: 13.13 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.5885, allocations: 26.17 kB / 1.174 GB, free: 13.13 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002142/0.5887, allocations: 230.4 kB / 1.174 GB, free: 12.96 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.596e-05/0.5888, allocations: 80.42 kB / 1.174 GB, free: 12.91 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.269e-05/0.5889, allocations: 73.81 kB / 1.175 GB, free: 12.88 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5889, allocations: 2.5 kB / 1.175 GB, free: 12.88 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.5889, allocations: 1.156 kB / 1.175 GB, free: 12.88 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.5889, allocations: 2.281 kB / 1.175 GB, free: 12.88 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.5899, allocations: 1.041 MB / 1.176 GB, free: 12.07 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5899, allocations: 3 kB / 1.176 GB, free: 12.07 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.915e-05/0.59, allocations: 23.88 kB / 1.176 GB, free: 12.07 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.59, allocations: 11.16 kB / 1.176 GB, free: 12.06 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.59, allocations: 7.859 kB / 1.176 GB, free: 12.06 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.59, allocations: 2.906 kB / 1.176 GB, free: 12.06 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.59, allocations: 3.656 kB / 1.176 GB, free: 12.06 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.5902, allocations: 259 kB / 1.176 GB, free: 11.86 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.5904, allocations: 95.62 kB / 1.176 GB, free: 11.8 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.5904, allocations: 12.17 kB / 1.176 GB, free: 11.79 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.5906, allocations: 15.92 kB / 1.176 GB, free: 11.79 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.5906, allocations: 9.047 kB / 1.176 GB, free: 11.79 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.5906, allocations: 8.312 kB / 1.176 GB, free: 11.79 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0005941/0.5912, allocations: 0.5904 MB / 1.177 GB, free: 11.55 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5912, allocations: 0 / 1.177 GB, free: 11.55 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0004729/0.5917, allocations: 163.4 kB / 1.177 GB, free: 11.53 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0007198/0.5924, allocations: 0.8813 MB / 1.178 GB, free: 10.77 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0003799/0.5928, allocations: 236.4 kB / 1.178 GB, free: 10.7 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5928, allocations: 4.062 kB / 1.178 GB, free: 10.69 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.5928, allocations: 45.64 kB / 1.178 GB, free: 10.68 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.5939, allocations: 373.3 kB / 1.178 GB, free: 10.58 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005705/0.5996, allocations: 5.46 MB / 1.184 GB, free: 7.43 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.5998, allocations: 344.7 kB / 1.184 GB, free: 7.309 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0004887/0.6003, allocations: 152 kB / 1.184 GB, free: 7.273 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.6005, allocations: 243.7 kB / 1.184 GB, free: 7.094 MB / 1.026 GB Notification: Performance of SimCode: time 9.51e-07/0.6005, allocations: 0 / 1.184 GB, free: 7.094 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.6321, allocations: 20.11 MB / 1.204 GB, free: 15.82 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/7.354, allocations: 3.984 kB / 1.204 GB, free: 15.82 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.26147145871073]