Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 103.4 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 191 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.67/2.67, allocations: 469.4 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 71.14 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3502, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.8001/1.15, allocations: 161.3 MB / 1.222 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002211/1.153, allocations: 0.957 MB / 1.223 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000456/1.153, allocations: 14.91 kB / 1.223 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006762/1.154, allocations: 158.5 kB / 1.223 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002044/1.156, allocations: 0.633 MB / 1.223 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007203/1.157, allocations: 217.9 kB / 1.224 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008651/1.158, allocations: 0.5163 MB / 1.224 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004438/1.158, allocations: 183.8 kB / 1.224 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006027/1.159, allocations: 233.9 kB / 1.225 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/1.159, allocations: 160.5 kB / 1.225 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.13e-05/1.159, allocations: 14.66 kB / 1.225 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/1.16, allocations: 0.5363 MB / 1.225 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/1.16, allocations: 88.48 kB / 1.225 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/1.16, allocations: 110.4 kB / 1.225 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009439/1.161, allocations: 486.7 kB / 1.226 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/1.161, allocations: 0 / 1.226 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.863e-06/1.161, allocations: 0 / 1.226 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.212e-05/1.161, allocations: 4 kB / 1.226 GB, free: 1.672 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001597/1.163, allocations: 0.592 MB / 1.227 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/1.163, allocations: 6.906 kB / 1.227 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003001/1.163, allocations: 58.06 kB / 1.227 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/1.164, allocations: 280.9 kB / 1.227 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/1.164, allocations: 14.05 kB / 1.227 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/1.164, allocations: 17.5 kB / 1.227 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/1.164, allocations: 239.9 kB / 1.227 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.164, allocations: 0 / 1.227 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/1.164, allocations: 6.562 kB / 1.227 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/1.164, allocations: 8.094 kB / 1.227 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006321/1.165, allocations: 256.2 kB / 1.227 GB, free: 0.5469 MB / 0.9356 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.001334/1.166, allocations: 0.8327 MB / 1.228 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/1.167, allocations: 150.3 kB / 1.228 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/1.167, allocations: 110.8 kB / 1.228 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002723/1.167, allocations: 182.9 kB / 1.229 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/1.167, allocations: 41.92 kB / 1.229 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 1.784e-06/1.167, allocations: 0 / 1.229 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0008348/1.168, allocations: 305.3 kB / 1.229 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/1.168, allocations: 53.97 kB / 1.229 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/1.168, allocations: 244.2 kB / 1.229 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/1.169, allocations: 29.7 kB / 1.229 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.282e-05/1.169, allocations: 133.9 kB / 1.229 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/1.169, allocations: 47.62 kB / 1.229 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/1.169, allocations: 42.67 kB / 1.229 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.169, allocations: 332.4 kB / 1.23 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/1.169, allocations: 70.12 kB / 1.23 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/1.169, allocations: 106.1 kB / 1.23 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/1.17, allocations: 169.4 kB / 1.23 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.17, allocations: 1.688 kB / 1.23 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004501/1.17, allocations: 215.7 kB / 1.23 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.17, allocations: 5.125 kB / 1.23 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/1.17, allocations: 3.938 kB / 1.23 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/1.17, allocations: 2.844 kB / 1.23 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/1.17, allocations: 30.16 kB / 1.23 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/1.17, allocations: 2.375 kB / 1.23 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/1.171, allocations: 23.14 kB / 1.23 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/1.171, allocations: 4.875 kB / 1.23 GB, free: 14.15 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001685/1.171, allocations: 158.2 kB / 1.231 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/1.171, allocations: 22.09 kB / 1.231 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.579e-05/1.171, allocations: 26.91 kB / 1.231 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.171, allocations: 3.469 kB / 1.231 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.171, allocations: 3.984 kB / 1.231 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/1.171, allocations: 3.625 kB / 1.231 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/1.172, allocations: 0.6764 MB / 1.231 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.172, allocations: 2.688 kB / 1.231 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/1.172, allocations: 31.83 kB / 1.231 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/1.172, allocations: 2.406 kB / 1.231 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/1.172, allocations: 14.05 kB / 1.231 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.172, allocations: 2.312 kB / 1.231 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.172, allocations: 2.281 kB / 1.231 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005064/1.173, allocations: 353.3 kB / 1.232 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/1.173, allocations: 113.7 kB / 1.232 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/1.173, allocations: 6.734 kB / 1.232 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/1.173, allocations: 9.188 kB / 1.232 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/1.173, allocations: 21.64 kB / 1.232 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/1.173, allocations: 9.938 kB / 1.232 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001627/1.173, allocations: 180.2 kB / 1.232 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.173, allocations: 0 / 1.232 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003661/1.174, allocations: 52.84 kB / 1.232 GB, free: 12.8 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.0003985/1.174, allocations: 169.8 kB / 1.232 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004657/1.175, allocations: 184.2 kB / 1.232 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.175, allocations: 0 / 1.232 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/1.175, allocations: 95.81 kB / 1.232 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007382/1.176, allocations: 130.1 kB / 1.233 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007892/1.176, allocations: 478.1 kB / 1.233 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/1.177, allocations: 0.748 MB / 1.234 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/1.177, allocations: 23.44 kB / 1.234 GB, free: 11 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/1.177, allocations: 4 kB / 1.234 GB, free: 11 MB / 0.9512 GB Notification: Performance of Templates: time 0.006535/1.183, allocations: 3.693 MB / 1.237 GB, free: 7.348 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,res.dp,res.sta_a.T,res.sta_b.T Variables in the result:res.dp,res.sta_a.T,res.sta_b.T,time