Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00191/0.00191, allocations: 107.5 kB / 16.45 MB, free: 6.504 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.002085/0.002085, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.421/1.421, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.733/2.733, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 63.89 kB / 1.104 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8527/0.8548, allocations: 168.7 MB / 1.269 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2585/1.113, allocations: 187.7 MB / 1.452 GB, free: 8.75 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01866/1.132, allocations: 13.09 MB / 1.465 GB, free: 11.62 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/1.134, allocations: 27.88 kB / 1.465 GB, free: 11.6 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001761/1.136, allocations: 429.2 kB / 1.465 GB, free: 11.18 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002929/1.139, allocations: 0.9604 MB / 1.466 GB, free: 10.21 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002319/1.141, allocations: 0.711 MB / 1.467 GB, free: 9.504 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002346/1.143, allocations: 1.504 MB / 1.468 GB, free: 7.996 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009521/1.144, allocations: 0.5415 MB / 1.469 GB, free: 7.438 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00428/1.149, allocations: 1.779 MB / 1.471 GB, free: 5.652 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/1.15, allocations: 0.5474 MB / 1.471 GB, free: 5.109 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/1.15, allocations: 52 kB / 1.471 GB, free: 5.059 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/1.152, allocations: 0.912 MB / 1.472 GB, free: 4.145 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003396/1.152, allocations: 283.1 kB / 1.472 GB, free: 3.867 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004813/1.153, allocations: 382 kB / 1.473 GB, free: 3.492 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/1.155, allocations: 1.183 MB / 1.474 GB, free: 2.305 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.155, allocations: 0 / 1.474 GB, free: 2.305 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.312e-06/1.155, allocations: 8 kB / 1.474 GB, free: 2.297 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.124e-05/1.155, allocations: 0 / 1.474 GB, free: 2.297 MB / 1.17 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.001665/1.156, allocations: 1.07 MB / 1.475 GB, free: 1.172 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.156, allocations: 8.031 kB / 1.475 GB, free: 1.164 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/1.157, allocations: 102.5 kB / 1.475 GB, free: 1.055 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009901/1.158, allocations: 203.2 kB / 1.475 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009958/1.159, allocations: 0.5486 MB / 1.476 GB, free: 276 kB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.961e-05/1.159, allocations: 49.25 kB / 1.476 GB, free: 228 kB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.174e-05/1.159, allocations: 59.98 kB / 1.476 GB, free: 168 kB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/1.16, allocations: 0.775 MB / 1.477 GB, free: 15.28 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/1.16, allocations: 7.938 kB / 1.477 GB, free: 15.27 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.699e-05/1.16, allocations: 31.94 kB / 1.477 GB, free: 15.24 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/1.16, allocations: 21 kB / 1.477 GB, free: 15.22 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009507/1.161, allocations: 463.3 kB / 1.477 GB, free: 14.77 MB / 1.186 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.004744/1.166, allocations: 4.387 MB / 1.482 GB, free: 10.15 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/1.166, allocations: 102.4 kB / 1.482 GB, free: 10.01 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/1.166, allocations: 71.5 kB / 1.482 GB, free: 9.93 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/1.166, allocations: 93.09 kB / 1.482 GB, free: 9.82 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/1.166, allocations: 42.5 kB / 1.482 GB, free: 9.77 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 2.625e-06/1.166, allocations: 0 / 1.482 GB, free: 9.77 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0007526/1.167, allocations: 245.2 kB / 1.482 GB, free: 9.523 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.588e-05/1.167, allocations: 136.5 kB / 1.482 GB, free: 9.359 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/1.168, allocations: 0.8371 MB / 1.483 GB, free: 8.516 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/1.168, allocations: 33.7 kB / 1.483 GB, free: 8.477 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/1.169, allocations: 411.7 kB / 1.483 GB, free: 8.07 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/1.169, allocations: 43.62 kB / 1.483 GB, free: 8.027 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/1.169, allocations: 89.97 kB / 1.484 GB, free: 7.934 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.169, allocations: 325.9 kB / 1.484 GB, free: 7.609 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/1.169, allocations: 116.7 kB / 1.484 GB, free: 7.496 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/1.17, allocations: 361.7 kB / 1.484 GB, free: 7.027 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006421/1.171, allocations: 437.9 kB / 1.485 GB, free: 6.492 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/1.171, allocations: 8 kB / 1.485 GB, free: 6.484 MB / 1.186 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000995/1.172, allocations: 0.5049 MB / 1.485 GB, free: 5.973 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.172, allocations: 8 kB / 1.485 GB, free: 5.965 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/1.172, allocations: 8 kB / 1.485 GB, free: 5.957 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/1.172, allocations: 8 kB / 1.485 GB, free: 5.949 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/1.172, allocations: 91.83 kB / 1.485 GB, free: 5.859 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/1.172, allocations: 15.94 kB / 1.485 GB, free: 5.844 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006599/1.173, allocations: 131.3 kB / 1.485 GB, free: 5.715 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/1.173, allocations: 24 kB / 1.485 GB, free: 5.691 MB / 1.186 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.0002978/1.173, allocations: 231.1 kB / 1.486 GB, free: 5.457 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/1.173, allocations: 83.52 kB / 1.486 GB, free: 5.375 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/1.173, allocations: 74.17 kB / 1.486 GB, free: 5.297 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.173, allocations: 0 / 1.486 GB, free: 5.297 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.173, allocations: 4 kB / 1.486 GB, free: 5.293 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/1.173, allocations: 3.938 kB / 1.486 GB, free: 5.289 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/1.175, allocations: 1.12 MB / 1.487 GB, free: 4.078 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.175, allocations: 0 / 1.487 GB, free: 4.078 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.469e-05/1.175, allocations: 19.94 kB / 1.487 GB, free: 4.059 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/1.175, allocations: 4 kB / 1.487 GB, free: 4.055 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/1.175, allocations: 4.312 kB / 1.487 GB, free: 4.051 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/1.175, allocations: 8.109 kB / 1.487 GB, free: 4.043 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/1.175, allocations: 11.94 kB / 1.487 GB, free: 4.031 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/1.175, allocations: 268.2 kB / 1.487 GB, free: 3.723 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/1.176, allocations: 168.6 kB / 1.487 GB, free: 3.539 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-05/1.176, allocations: 7.984 kB / 1.487 GB, free: 3.531 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/1.176, allocations: 23.98 kB / 1.487 GB, free: 3.508 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/1.176, allocations: 7.938 kB / 1.487 GB, free: 3.5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/1.176, allocations: 8 kB / 1.487 GB, free: 3.492 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009072/1.177, allocations: 0.5887 MB / 1.488 GB, free: 2.906 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.177, allocations: 4.094 kB / 1.488 GB, free: 2.902 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005998/1.178, allocations: 159.8 kB / 1.488 GB, free: 2.746 MB / 1.186 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.001147/1.179, allocations: 0.8864 MB / 1.489 GB, free: 1.824 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005913/1.179, allocations: 245.4 kB / 1.489 GB, free: 1.586 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.179, allocations: 0 / 1.489 GB, free: 1.586 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 7.702e-05/1.179, allocations: 47.86 kB / 1.489 GB, free: 1.539 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/1.181, allocations: 374.3 kB / 1.49 GB, free: 1.18 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008127/1.189, allocations: 5.47 MB / 1.495 GB, free: 11.35 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006264/1.19, allocations: 0.937 MB / 1.496 GB, free: 10.39 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0006117/1.19, allocations: 158.1 kB / 1.496 GB, free: 10.23 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/1.191, allocations: 231.4 kB / 1.496 GB, free: 10 MB / 1.201 GB Notification: Performance of SimCode: time 1.232e-06/1.191, allocations: 0 / 1.496 GB, free: 10 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05662/1.247, allocations: 18.06 MB / 1.514 GB, free: 8.316 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.751/11, allocations: 11.75 kB / 1.514 GB, free: 8.305 MB / 1.217 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.040895871352404]