Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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.001856/0.001856, 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.001538/0.001538, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.145/3.145, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",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.002003/0.002003, allocations: 76.89 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3712, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2472/0.6184, allocations: 213.1 MB / 1.535 GB, free: 11.68 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01368/0.6321, allocations: 6.723 MB / 1.541 GB, free: 4.949 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.6339, allocations: 71.38 kB / 1.541 GB, free: 4.879 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.6355, allocations: 0.5045 MB / 1.542 GB, free: 4.371 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.003621/0.6391, allocations: 1.344 MB / 1.543 GB, free: 3.023 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004331/0.6434, allocations: 1.64 MB / 1.545 GB, free: 1.387 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003109/0.6466, allocations: 1.971 MB / 1.547 GB, free: 15.41 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.6479, allocations: 0.6572 MB / 1.547 GB, free: 14.73 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00444/0.6523, allocations: 1.717 MB / 1.549 GB, free: 13.01 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.6538, allocations: 0.7159 MB / 1.55 GB, free: 12.29 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002608/0.654, allocations: 76 kB / 1.55 GB, free: 12.21 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002867/0.6569, allocations: 1.212 MB / 1.551 GB, free: 11 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005102/0.6574, allocations: 299 kB / 1.551 GB, free: 10.71 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0009085/0.6583, allocations: 402.2 kB / 1.552 GB, free: 10.31 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003534/0.6619, allocations: 1.604 MB / 1.553 GB, free: 8.703 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.6619, allocations: 3.984 kB / 1.553 GB, free: 8.699 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6619, allocations: 3.938 kB / 1.553 GB, free: 8.695 MB / 1.248 GB Notification: Performance of Transformations before backend: time 4.702e-05/0.6619, allocations: 0 / 1.553 GB, free: 8.695 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002944/0.6649, allocations: 1.18 MB / 1.554 GB, free: 7.48 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.6649, allocations: 12.03 kB / 1.554 GB, free: 7.469 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.887e-05/0.6649, allocations: 16.94 kB / 1.554 GB, free: 7.453 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.6651, allocations: 94.52 kB / 1.554 GB, free: 7.352 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.667, allocations: 291.1 kB / 1.555 GB, free: 7.066 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.6684, allocations: 0.6348 MB / 1.555 GB, free: 6.402 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.6685, allocations: 41 kB / 1.555 GB, free: 6.363 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.6686, allocations: 55.98 kB / 1.555 GB, free: 6.309 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.6698, allocations: 0.6115 MB / 1.556 GB, free: 5.695 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.6699, allocations: 0 / 1.556 GB, free: 5.695 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-05/0.6699, allocations: 20 kB / 1.556 GB, free: 5.676 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.6699, allocations: 12 kB / 1.556 GB, free: 5.664 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.6711, allocations: 0.6207 MB / 1.557 GB, free: 5.039 MB / 1.248 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.003989/0.6751, allocations: 1.956 MB / 1.559 GB, free: 3.02 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007218/0.6759, allocations: 375.3 kB / 1.559 GB, free: 2.645 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/0.6763, allocations: 257.3 kB / 1.559 GB, free: 2.391 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/0.6769, allocations: 100.2 kB / 1.559 GB, free: 2.293 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.677, allocations: 38.89 kB / 1.559 GB, free: 2.246 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008271/0.6778, allocations: 151.6 kB / 1.559 GB, free: 2.098 MB / 1.248 GB Notification: Performance of pre-optimization done (n=39): time 4.128e-06/0.6778, allocations: 0 / 1.559 GB, free: 2.098 MB / 1.248 GB Notification: Performance of matching and sorting (n=39): time 0.00192/0.6797, allocations: 0.8256 MB / 1.56 GB, free: 1.266 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.6798, allocations: 55.41 kB / 1.56 GB, free: 1.199 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009709/0.6807, allocations: 0.7118 MB / 1.561 GB, free: 488 kB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/0.6808, allocations: 33.7 kB / 1.561 GB, free: 448 kB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.6811, allocations: 356.8 kB / 1.561 GB, free: 88 kB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.6813, allocations: 150.8 kB / 1.562 GB, free: 15.93 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.6814, allocations: 93.97 kB / 1.562 GB, free: 15.84 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6816, allocations: 322 kB / 1.562 GB, free: 15.52 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.682, allocations: 208.6 kB / 1.562 GB, free: 15.31 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006351/0.6826, allocations: 488.7 kB / 1.563 GB, free: 14.76 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009329/0.6836, allocations: 0.4967 MB / 1.563 GB, free: 14.25 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.6836, allocations: 0 / 1.563 GB, free: 14.25 MB / 1.264 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00128/0.6849, allocations: 0.6173 MB / 1.564 GB, free: 13.62 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.6849, allocations: 8.156 kB / 1.564 GB, free: 13.61 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6849, allocations: 4 kB / 1.564 GB, free: 13.61 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.6849, allocations: 7.938 kB / 1.564 GB, free: 13.6 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.6855, allocations: 95.86 kB / 1.564 GB, free: 13.51 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.6855, allocations: 4 kB / 1.564 GB, free: 13.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/0.6861, allocations: 31.95 kB / 1.564 GB, free: 13.47 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.701e-05/0.6861, allocations: 23.98 kB / 1.564 GB, free: 13.45 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.000316/0.6864, allocations: 225.7 kB / 1.564 GB, free: 13.22 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.6866, allocations: 87.44 kB / 1.564 GB, free: 13.13 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.688, allocations: 0.6493 MB / 1.565 GB, free: 12.47 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.688, allocations: 7.938 kB / 1.565 GB, free: 12.46 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.688, allocations: 0 / 1.565 GB, free: 12.46 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.688, allocations: 0 / 1.565 GB, free: 12.46 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.6906, allocations: 1.417 MB / 1.566 GB, free: 10.96 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.6906, allocations: 4.406 kB / 1.566 GB, free: 10.95 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/0.6911, allocations: 91.88 kB / 1.566 GB, free: 10.86 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.6911, allocations: 4 kB / 1.566 GB, free: 10.86 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.6912, allocations: 15.94 kB / 1.566 GB, free: 10.84 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.6912, allocations: 4 kB / 1.566 GB, free: 10.84 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.6912, allocations: 11.88 kB / 1.566 GB, free: 10.83 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.693, allocations: 1.06 MB / 1.567 GB, free: 9.715 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/0.6934, allocations: 127.5 kB / 1.567 GB, free: 9.59 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.6935, allocations: 12 kB / 1.567 GB, free: 9.578 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005465/0.6941, allocations: 27.97 kB / 1.567 GB, free: 9.551 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.6942, allocations: 47.89 kB / 1.568 GB, free: 9.504 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.6942, allocations: 16 kB / 1.568 GB, free: 9.488 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007485/0.695, allocations: 0.4951 MB / 1.568 GB, free: 8.996 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/0.695, allocations: 0 / 1.568 GB, free: 8.996 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0007365/0.6957, allocations: 207.7 kB / 1.568 GB, free: 8.793 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * 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 (42): * Single equations (assignments): 42 * 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.002403/0.6981, allocations: 1.682 MB / 1.57 GB, free: 7.043 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.6992, allocations: 496.2 kB / 1.57 GB, free: 6.559 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.6992, allocations: 0 / 1.57 GB, free: 6.559 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005285/0.6997, allocations: 267.6 kB / 1.571 GB, free: 6.297 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.7019, allocations: 478 kB / 1.571 GB, free: 5.84 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/0.7152, allocations: 6.459 MB / 1.577 GB, free: 15.14 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.7157, allocations: 371.4 kB / 1.578 GB, free: 14.75 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.000768/0.7164, allocations: 174.4 kB / 1.578 GB, free: 14.57 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005085/0.7169, allocations: 287.3 kB / 1.578 GB, free: 14.29 MB / 1.279 GB Notification: Performance of SimCode: time 1.002e-06/0.7169, allocations: 4 kB / 1.578 GB, free: 14.29 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0571/0.774, allocations: 25.18 MB / 1.603 GB, free: 5.781 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.38, allocations: 4.062 kB / 1.603 GB, free: 5.777 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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: 20.85536003706511]