Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001386/0.001386, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00174/0.00174, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.712/2.712, allocations: 476.7 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_11_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.002011/0.002011, allocations: 61.98 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3, allocations: 170 MB / 1.284 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2734/0.5735, allocations: 244.6 MB / 1.523 GB, free: 6.121 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.0131/0.5866, allocations: 7.191 MB / 1.53 GB, free: 14.91 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.5886, allocations: 75.38 kB / 1.53 GB, free: 14.84 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.5902, allocations: 0.5318 MB / 1.531 GB, free: 14.3 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.003717/0.5939, allocations: 1.373 MB / 1.532 GB, free: 12.93 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004228/0.5982, allocations: 1.688 MB / 1.534 GB, free: 11.24 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003089/0.6012, allocations: 1.975 MB / 1.536 GB, free: 9.262 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.6024, allocations: 0.6611 MB / 1.536 GB, free: 8.586 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003694/0.6061, allocations: 1.483 MB / 1.538 GB, free: 7.098 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.6073, allocations: 0.7199 MB / 1.538 GB, free: 6.375 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.6074, allocations: 72 kB / 1.538 GB, free: 6.305 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.6105, allocations: 1.601 MB / 1.54 GB, free: 4.699 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003431/0.6109, allocations: 303 kB / 1.54 GB, free: 4.402 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0005934/0.6114, allocations: 489.7 kB / 1.541 GB, free: 3.922 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00294/0.6144, allocations: 1.635 MB / 1.542 GB, free: 2.281 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.6144, allocations: 0 / 1.542 GB, free: 2.281 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6144, allocations: 0 / 1.542 GB, free: 2.281 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.6144, allocations: 0 / 1.542 GB, free: 2.281 MB / 1.232 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.002472/0.6169, allocations: 1.184 MB / 1.543 GB, free: 1.059 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.6169, allocations: 15.97 kB / 1.543 GB, free: 1.043 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.369e-05/0.6169, allocations: 13 kB / 1.543 GB, free: 1.031 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.6171, allocations: 90.52 kB / 1.544 GB, free: 0.9336 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.6188, allocations: 283.1 kB / 1.544 GB, free: 0.6562 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.6201, allocations: 0.6386 MB / 1.544 GB, free: 15.99 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.6201, allocations: 37 kB / 1.544 GB, free: 15.95 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.6202, allocations: 52 kB / 1.545 GB, free: 15.9 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.6214, allocations: 0.6076 MB / 1.545 GB, free: 15.29 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.6214, allocations: 0 / 1.545 GB, free: 15.29 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-05/0.6214, allocations: 20 kB / 1.545 GB, free: 15.27 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.6215, allocations: 12 kB / 1.545 GB, free: 15.26 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.6227, allocations: 0.6246 MB / 1.546 GB, free: 14.64 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.004248/0.6269, allocations: 2.836 MB / 1.549 GB, free: 11.55 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.6277, allocations: 387.8 kB / 1.549 GB, free: 11.17 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005058/0.6282, allocations: 261.3 kB / 1.549 GB, free: 10.91 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005572/0.6287, allocations: 100.2 kB / 1.549 GB, free: 10.81 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.6288, allocations: 34.89 kB / 1.549 GB, free: 10.77 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007795/0.6295, allocations: 147.6 kB / 1.549 GB, free: 10.62 MB / 1.248 GB Notification: Performance of pre-optimization done (n=39): time 2.184e-06/0.6295, allocations: 4 kB / 1.549 GB, free: 10.62 MB / 1.248 GB Notification: Performance of matching and sorting (n=39): time 0.001887/0.6314, allocations: 0.8178 MB / 1.55 GB, free: 9.797 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.6315, allocations: 59.41 kB / 1.55 GB, free: 9.727 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009001/0.6324, allocations: 0.7001 MB / 1.551 GB, free: 9.012 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.375e-05/0.6324, allocations: 33.7 kB / 1.551 GB, free: 8.973 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.6327, allocations: 368.6 kB / 1.551 GB, free: 8.609 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.6329, allocations: 138.8 kB / 1.551 GB, free: 8.473 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.6331, allocations: 97.98 kB / 1.552 GB, free: 8.371 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6332, allocations: 318 kB / 1.552 GB, free: 8.055 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.6336, allocations: 216.6 kB / 1.552 GB, free: 7.844 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.6342, allocations: 296.6 kB / 1.552 GB, free: 7.523 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009723/0.6352, allocations: 0.5003 MB / 1.553 GB, free: 7.004 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6352, allocations: 0 / 1.553 GB, free: 7.004 MB / 1.248 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001303/0.6365, allocations: 0.6136 MB / 1.553 GB, free: 6.383 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.6365, allocations: 8 kB / 1.553 GB, free: 6.375 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.6365, allocations: 0 / 1.553 GB, free: 6.375 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.6365, allocations: 7.938 kB / 1.553 GB, free: 6.367 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/0.6371, allocations: 111.9 kB / 1.554 GB, free: 6.258 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.6371, allocations: 4 kB / 1.554 GB, free: 6.254 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000561/0.6377, allocations: 31.97 kB / 1.554 GB, free: 6.223 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/0.6377, allocations: 31.95 kB / 1.554 GB, free: 6.191 MB / 1.248 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.0003385/0.6381, allocations: 209.8 kB / 1.554 GB, free: 5.977 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.6382, allocations: 83.48 kB / 1.554 GB, free: 5.895 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.6396, allocations: 0.6611 MB / 1.555 GB, free: 5.227 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.6396, allocations: 7.938 kB / 1.555 GB, free: 5.219 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6396, allocations: 0 / 1.555 GB, free: 5.219 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.6396, allocations: 3.984 kB / 1.555 GB, free: 5.215 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.6422, allocations: 1.485 MB / 1.556 GB, free: 3.641 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.6422, allocations: 4 kB / 1.556 GB, free: 3.637 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004701/0.6426, allocations: 87.83 kB / 1.556 GB, free: 3.551 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.6427, allocations: 7.938 kB / 1.556 GB, free: 3.543 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.6427, allocations: 16 kB / 1.556 GB, free: 3.527 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.6427, allocations: 4 kB / 1.556 GB, free: 3.523 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.6427, allocations: 12.28 kB / 1.556 GB, free: 3.512 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.6445, allocations: 1.06 MB / 1.557 GB, free: 2.398 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.6448, allocations: 127.4 kB / 1.557 GB, free: 2.273 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.6449, allocations: 16 kB / 1.557 GB, free: 2.258 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004904/0.6454, allocations: 27.97 kB / 1.557 GB, free: 2.23 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.6455, allocations: 43.88 kB / 1.557 GB, free: 2.188 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.005e-05/0.6456, allocations: 12 kB / 1.557 GB, free: 2.176 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006568/0.6462, allocations: 0.4912 MB / 1.558 GB, free: 1.688 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6462, allocations: 0 / 1.558 GB, free: 1.688 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0006602/0.6469, allocations: 195.8 kB / 1.558 GB, free: 1.496 MB / 1.248 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.002333/0.6492, allocations: 1.695 MB / 1.56 GB, free: 15.73 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.6503, allocations: 487.5 kB / 1.56 GB, free: 15.26 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6503, allocations: 4.062 kB / 1.56 GB, free: 15.25 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.000529/0.6508, allocations: 263.6 kB / 1.56 GB, free: 15 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.653, allocations: 472.2 kB / 1.561 GB, free: 14.55 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.6656, allocations: 6.439 MB / 1.567 GB, free: 7.859 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006566/0.6663, allocations: 0.9689 MB / 1.568 GB, free: 6.863 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008378/0.6671, allocations: 166.4 kB / 1.568 GB, free: 6.695 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005511/0.6677, allocations: 287.3 kB / 1.569 GB, free: 6.414 MB / 1.264 GB Notification: Performance of SimCode: time 1.503e-06/0.6677, allocations: 0 / 1.569 GB, free: 6.414 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07996/0.7476, allocations: 23.54 MB / 1.592 GB, free: 15.33 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.46, allocations: 12 kB / 1.592 GB, free: 15.32 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.162426637019962]