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.00138/0.00138, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001569/0.001569, allocations: 214.9 kB / 23.03 MB, free: 4.926 MB / 14.72 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 1.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.056/3.056, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 68.72 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3266, allocations: 176.1 MB / 1.327 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2155/0.542, allocations: 165.4 MB / 1.488 GB, free: 11.43 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01996/0.562, allocations: 11.96 MB / 1.5 GB, free: 15.44 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.5634, allocations: 43.62 kB / 1.5 GB, free: 15.39 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.5651, allocations: 405.3 kB / 1.5 GB, free: 15 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.568, allocations: 0.9644 MB / 1.501 GB, free: 14.03 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.5701, allocations: 0.7276 MB / 1.502 GB, free: 13.3 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002737/0.5729, allocations: 1.528 MB / 1.503 GB, free: 11.77 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.5741, allocations: 0.4952 MB / 1.504 GB, free: 11.26 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005173/0.5793, allocations: 1.868 MB / 1.506 GB, free: 9.383 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.5812, allocations: 0.5327 MB / 1.506 GB, free: 8.855 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.5814, allocations: 56 kB / 1.506 GB, free: 8.801 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.583, allocations: 0.7327 MB / 1.507 GB, free: 8.066 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000422/0.5835, allocations: 283.1 kB / 1.507 GB, free: 7.789 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000628/0.5841, allocations: 322.5 kB / 1.508 GB, free: 7.473 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.5862, allocations: 1.16 MB / 1.509 GB, free: 6.309 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.5863, allocations: 3.984 kB / 1.509 GB, free: 6.305 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5863, allocations: 0 / 1.509 GB, free: 6.305 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.507e-05/0.5863, allocations: 0 / 1.509 GB, free: 6.305 MB / 1.201 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.001848/0.5881, allocations: 1.002 MB / 1.51 GB, free: 5.266 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.5882, allocations: 8.031 kB / 1.51 GB, free: 5.258 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.132e-05/0.5882, allocations: 25.31 kB / 1.51 GB, free: 5.234 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/0.5884, allocations: 106.4 kB / 1.51 GB, free: 5.121 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.5894, allocations: 187.3 kB / 1.51 GB, free: 4.938 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00099/0.5904, allocations: 0.4919 MB / 1.51 GB, free: 4.422 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.784e-05/0.5904, allocations: 45.31 kB / 1.511 GB, free: 4.379 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-05/0.5905, allocations: 56 kB / 1.511 GB, free: 4.324 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.5918, allocations: 0.8001 MB / 1.511 GB, free: 3.41 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.5919, allocations: 7.938 kB / 1.511 GB, free: 3.402 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.5919, allocations: 31.98 kB / 1.511 GB, free: 3.371 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-05/0.592, allocations: 24.94 kB / 1.511 GB, free: 3.348 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009727/0.5929, allocations: 459.3 kB / 1.512 GB, free: 2.898 MB / 1.201 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.004553/0.5975, allocations: 3.998 MB / 1.516 GB, free: 14.73 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.5977, allocations: 106.4 kB / 1.516 GB, free: 14.59 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.5978, allocations: 71.5 kB / 1.516 GB, free: 14.5 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.5979, allocations: 15.98 kB / 1.516 GB, free: 14.49 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.598, allocations: 34.56 kB / 1.516 GB, free: 14.45 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 2.625e-06/0.598, allocations: 0 / 1.516 GB, free: 14.45 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0007938/0.5988, allocations: 257.1 kB / 1.516 GB, free: 14.19 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.5988, allocations: 132.5 kB / 1.516 GB, free: 14.03 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.6001, allocations: 0.8447 MB / 1.517 GB, free: 13.18 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.6001, allocations: 25.7 kB / 1.517 GB, free: 13.14 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.6005, allocations: 415.6 kB / 1.518 GB, free: 12.73 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.6006, allocations: 47.75 kB / 1.518 GB, free: 12.69 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.6007, allocations: 89.97 kB / 1.518 GB, free: 12.59 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.6009, allocations: 322 kB / 1.518 GB, free: 12.27 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.6012, allocations: 108.7 kB / 1.518 GB, free: 12.17 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/0.6018, allocations: 0.5078 MB / 1.519 GB, free: 11.51 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006473/0.6024, allocations: 445.6 kB / 1.519 GB, free: 10.96 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.6024, allocations: 7.938 kB / 1.519 GB, free: 10.96 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001049/0.6035, allocations: 0.493 MB / 1.52 GB, free: 10.46 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.6035, allocations: 11.94 kB / 1.52 GB, free: 10.45 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.6035, allocations: 8.469 kB / 1.52 GB, free: 10.44 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.6035, allocations: 12 kB / 1.52 GB, free: 10.43 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.6039, allocations: 95.83 kB / 1.52 GB, free: 10.33 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/0.6039, allocations: 24.31 kB / 1.52 GB, free: 10.31 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006901/0.6046, allocations: 119.2 kB / 1.52 GB, free: 10.19 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.6046, allocations: 20 kB / 1.52 GB, free: 10.17 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.0003097/0.6049, allocations: 233.6 kB / 1.52 GB, free: 9.934 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.6051, allocations: 83.48 kB / 1.52 GB, free: 9.852 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.6053, allocations: 74.25 kB / 1.52 GB, free: 9.773 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.6053, allocations: 0 / 1.52 GB, free: 9.773 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6053, allocations: 0 / 1.52 GB, free: 9.773 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.6053, allocations: 7.938 kB / 1.52 GB, free: 9.766 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.6068, allocations: 1.034 MB / 1.521 GB, free: 8.648 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.6068, allocations: 8.062 kB / 1.521 GB, free: 8.641 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.709e-05/0.6069, allocations: 15.94 kB / 1.521 GB, free: 8.625 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.6069, allocations: 7.984 kB / 1.521 GB, free: 8.617 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.6069, allocations: 8 kB / 1.521 GB, free: 8.609 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.6069, allocations: 4 kB / 1.521 GB, free: 8.605 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6069, allocations: 0 / 1.521 GB, free: 8.605 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.6072, allocations: 268.2 kB / 1.521 GB, free: 8.297 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.6075, allocations: 99.38 kB / 1.522 GB, free: 8.199 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.6076, allocations: 8 kB / 1.522 GB, free: 8.191 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.6079, allocations: 15.98 kB / 1.522 GB, free: 8.176 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.608, allocations: 19.92 kB / 1.522 GB, free: 8.156 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.608, allocations: 4 kB / 1.522 GB, free: 8.152 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009162/0.6089, allocations: 0.5888 MB / 1.522 GB, free: 7.566 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6089, allocations: 4 kB / 1.522 GB, free: 7.562 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006205/0.6095, allocations: 151.8 kB / 1.522 GB, free: 7.414 MB / 1.217 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.001029/0.6106, allocations: 0.8711 MB / 1.523 GB, free: 6.496 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005955/0.6112, allocations: 240.8 kB / 1.523 GB, free: 6.262 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.6112, allocations: 3.938 kB / 1.523 GB, free: 6.258 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 9.075e-05/0.6112, allocations: 44.8 kB / 1.523 GB, free: 6.215 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.6128, allocations: 386.4 kB / 1.524 GB, free: 5.848 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007738/0.6206, allocations: 5.477 MB / 1.529 GB, free: 16 kB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.621, allocations: 344.5 kB / 1.53 GB, free: 15.65 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005008/0.6215, allocations: 150 kB / 1.53 GB, free: 15.5 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.6218, allocations: 235.4 kB / 1.53 GB, free: 15.27 MB / 1.232 GB Notification: Performance of SimCode: time 1.012e-06/0.6218, allocations: 0 / 1.53 GB, free: 15.27 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0505/0.6723, allocations: 19.68 MB / 1.549 GB, free: 12.19 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.65, allocations: 9.422 kB / 1.549 GB, free: 12.18 MB / 1.248 GB " [Timeout remaining time 287] (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/jenkins1/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: 19.13307271793019]