Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 109.1 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.245/3.245, allocations: 497.2 MB / 0.7811 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 73.78 kB / 1.134 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.319, allocations: 173.9 MB / 1.304 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2234/0.5424, allocations: 187.8 MB / 1.487 GB, free: 5.125 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01822/0.5606, allocations: 13.1 MB / 1.5 GB, free: 7.996 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.5618, allocations: 27.88 kB / 1.5 GB, free: 7.969 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.5633, allocations: 425.2 kB / 1.501 GB, free: 7.551 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003159/0.5665, allocations: 0.9566 MB / 1.502 GB, free: 6.59 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.5688, allocations: 0.7149 MB / 1.502 GB, free: 5.879 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002489/0.5713, allocations: 1.496 MB / 1.504 GB, free: 4.379 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.5723, allocations: 0.5453 MB / 1.504 GB, free: 3.816 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004393/0.5767, allocations: 1.884 MB / 1.506 GB, free: 1.926 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.5783, allocations: 0.5293 MB / 1.507 GB, free: 1.398 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.5785, allocations: 52 kB / 1.507 GB, free: 1.348 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.5802, allocations: 0.8965 MB / 1.508 GB, free: 460 kB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003348/0.5805, allocations: 283.1 kB / 1.508 GB, free: 176 kB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005121/0.581, allocations: 398.1 kB / 1.508 GB, free: 15.78 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.5829, allocations: 1.171 MB / 1.509 GB, free: 14.61 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5829, allocations: 0 / 1.509 GB, free: 14.61 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5829, allocations: 0 / 1.509 GB, free: 14.61 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.5829, allocations: 0 / 1.509 GB, free: 14.61 MB / 1.217 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.001601/0.5845, allocations: 1.081 MB / 1.51 GB, free: 13.47 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.5845, allocations: 12.92 kB / 1.51 GB, free: 13.46 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.5846, allocations: 98.52 kB / 1.51 GB, free: 13.35 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009838/0.5856, allocations: 191.3 kB / 1.511 GB, free: 13.16 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009957/0.5866, allocations: 0.5602 MB / 1.511 GB, free: 12.57 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.5867, allocations: 45.31 kB / 1.511 GB, free: 12.53 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.021e-05/0.5868, allocations: 52 kB / 1.511 GB, free: 12.48 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.588, allocations: 0.7828 MB / 1.512 GB, free: 11.58 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.588, allocations: 0 / 1.512 GB, free: 11.58 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.924e-05/0.5881, allocations: 31.94 kB / 1.512 GB, free: 11.55 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.504e-05/0.5881, allocations: 21 kB / 1.512 GB, free: 11.53 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009573/0.5891, allocations: 467.2 kB / 1.513 GB, free: 11.07 MB / 1.217 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.004372/0.5934, allocations: 4.462 MB / 1.517 GB, free: 6.355 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.5936, allocations: 102.3 kB / 1.517 GB, free: 6.219 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.5937, allocations: 75.58 kB / 1.517 GB, free: 6.133 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.5939, allocations: 93.09 kB / 1.517 GB, free: 6.023 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.5939, allocations: 38.56 kB / 1.517 GB, free: 5.977 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.5939, allocations: 0 / 1.517 GB, free: 5.977 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0006987/0.5946, allocations: 245.3 kB / 1.517 GB, free: 5.73 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/0.5947, allocations: 128.5 kB / 1.518 GB, free: 5.574 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.5958, allocations: 0.845 MB / 1.518 GB, free: 4.719 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.5959, allocations: 33.7 kB / 1.518 GB, free: 4.68 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.5962, allocations: 415.6 kB / 1.519 GB, free: 4.27 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.5963, allocations: 43.67 kB / 1.519 GB, free: 4.227 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.5964, allocations: 89.92 kB / 1.519 GB, free: 4.133 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5965, allocations: 329.9 kB / 1.519 GB, free: 3.805 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.5968, allocations: 112.7 kB / 1.519 GB, free: 3.695 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.5973, allocations: 361.7 kB / 1.52 GB, free: 3.227 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006168/0.5979, allocations: 441.5 kB / 1.52 GB, free: 2.688 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5979, allocations: 0 / 1.52 GB, free: 2.688 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009848/0.5989, allocations: 0.4968 MB / 1.521 GB, free: 2.184 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.5989, allocations: 8 kB / 1.521 GB, free: 2.176 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.599, allocations: 8 kB / 1.521 GB, free: 2.168 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.599, allocations: 15.94 kB / 1.521 GB, free: 2.152 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.5993, allocations: 96.34 kB / 1.521 GB, free: 2.059 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/0.5993, allocations: 23.92 kB / 1.521 GB, free: 2.035 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006435/0.6, allocations: 115.2 kB / 1.521 GB, free: 1.922 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.6, allocations: 23.98 kB / 1.521 GB, free: 1.898 MB / 1.217 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.0002826/0.6003, allocations: 233.6 kB / 1.521 GB, free: 1.66 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.6004, allocations: 75.53 kB / 1.521 GB, free: 1.586 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.6006, allocations: 70.17 kB / 1.521 GB, free: 1.516 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6006, allocations: 4 kB / 1.521 GB, free: 1.512 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.6006, allocations: 0 / 1.521 GB, free: 1.512 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.6006, allocations: 3.938 kB / 1.521 GB, free: 1.508 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.602, allocations: 1.124 MB / 1.522 GB, free: 300 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.602, allocations: 4.312 kB / 1.522 GB, free: 296 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.574e-05/0.6021, allocations: 23.92 kB / 1.522 GB, free: 272 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.6021, allocations: 4 kB / 1.522 GB, free: 268 kB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.6021, allocations: 4.125 kB / 1.522 GB, free: 264 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.6021, allocations: 8 kB / 1.522 GB, free: 256 kB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6021, allocations: 0 / 1.522 GB, free: 256 kB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.6025, allocations: 276.1 kB / 1.523 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.6027, allocations: 172.6 kB / 1.523 GB, free: 15.75 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.163e-05/0.6028, allocations: 4 kB / 1.523 GB, free: 15.74 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.6031, allocations: 19.98 kB / 1.523 GB, free: 15.72 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.6032, allocations: 15.92 kB / 1.523 GB, free: 15.71 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.6032, allocations: 4 kB / 1.523 GB, free: 15.7 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008439/0.604, allocations: 0.5888 MB / 1.523 GB, free: 15.12 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.21e-07/0.604, allocations: 0 / 1.523 GB, free: 15.12 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005849/0.6046, allocations: 159.8 kB / 1.524 GB, free: 14.96 MB / 1.232 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.0009645/0.6056, allocations: 0.8884 MB / 1.524 GB, free: 14.04 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005522/0.6061, allocations: 241.1 kB / 1.525 GB, free: 13.8 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.6061, allocations: 0 / 1.525 GB, free: 13.8 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 7.794e-05/0.6062, allocations: 51.91 kB / 1.525 GB, free: 13.75 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.6078, allocations: 379.9 kB / 1.525 GB, free: 13.39 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007743/0.6155, allocations: 5.458 MB / 1.53 GB, free: 7.566 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.6162, allocations: 0.9408 MB / 1.531 GB, free: 6.598 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005567/0.6167, allocations: 158.1 kB / 1.532 GB, free: 6.441 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/0.617, allocations: 230.7 kB / 1.532 GB, free: 6.219 MB / 1.232 GB Notification: Performance of SimCode: time 6.81e-07/0.617, allocations: 0 / 1.532 GB, free: 6.219 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05268/0.6697, allocations: 18.06 MB / 1.549 GB, free: 4.52 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.568/10.24, allocations: 13.06 kB / 1.549 GB, free: 4.512 MB / 1.248 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.839737555012107]