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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001101/0.0011, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001281/0.001281, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.824/2.824, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003428, allocations: 8.469 kB / 0.9021 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3497, allocations: 159.6 MB / 1.058 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1773/0.5271, allocations: 146.5 MB / 1.201 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.529, allocations: 0.9122 MB / 1.202 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.5292, allocations: 7.938 kB / 1.202 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.5297, allocations: 107.2 kB / 1.202 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.531, allocations: 464.8 kB / 1.203 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005461/0.5316, allocations: 189.1 kB / 1.203 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000633/0.5322, allocations: 0.6162 MB / 1.203 GB, free: 172 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.5325, allocations: 144.2 kB / 1.203 GB, free: 24 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004052/0.5329, allocations: 215.2 kB / 1.204 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.5331, allocations: 159.2 kB / 1.204 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.5332, allocations: 8 kB / 1.204 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006537/0.5338, allocations: 299.2 kB / 1.204 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.489e-05/0.534, allocations: 75.78 kB / 1.204 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.534, allocations: 61.58 kB / 1.204 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003946/0.5344, allocations: 299.4 kB / 1.205 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5344, allocations: 0 / 1.205 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5344, allocations: 3.938 kB / 1.205 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.5345, allocations: 0 / 1.205 GB, free: 14.92 MB / 0.9669 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.001281/0.5357, allocations: 0.565 MB / 1.205 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.5358, allocations: 12.03 kB / 1.205 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.536, allocations: 43.69 kB / 1.205 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.5364, allocations: 266.6 kB / 1.205 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.5364, allocations: 8.328 kB / 1.205 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.5364, allocations: 23.94 kB / 1.205 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.5369, allocations: 243.1 kB / 1.206 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.537, allocations: 4 kB / 1.206 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.537, allocations: 12 kB / 1.206 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.537, allocations: 12 kB / 1.206 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005923/0.5376, allocations: 255.8 kB / 1.206 GB, free: 13.4 MB / 0.9669 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.001225/0.5389, allocations: 0.8509 MB / 1.207 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.5392, allocations: 146.5 kB / 1.207 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.5394, allocations: 112.8 kB / 1.207 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/0.5397, allocations: 194.2 kB / 1.207 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.5397, allocations: 34.56 kB / 1.207 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.5397, allocations: 0 / 1.207 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0008319/0.5406, allocations: 314.4 kB / 1.207 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.5406, allocations: 55.41 kB / 1.208 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.5409, allocations: 244.9 kB / 1.208 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.5409, allocations: 33.7 kB / 1.208 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.49e-05/0.541, allocations: 132.3 kB / 1.208 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.5411, allocations: 51.2 kB / 1.208 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.5411, allocations: 0 / 1.208 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.5412, allocations: 338.8 kB / 1.208 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.5414, allocations: 67.95 kB / 1.208 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.5416, allocations: 117.5 kB / 1.208 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.5418, allocations: 79.91 kB / 1.209 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5418, allocations: 0 / 1.209 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004522/0.5423, allocations: 223.8 kB / 1.209 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.5423, allocations: 4 kB / 1.209 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.5423, allocations: 4 kB / 1.209 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5423, allocations: 0 / 1.209 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.5425, allocations: 43.97 kB / 1.209 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.5426, allocations: 4 kB / 1.209 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.5427, allocations: 23.83 kB / 1.209 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.5428, allocations: 7.938 kB / 1.209 GB, free: 10.18 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.5429, allocations: 145.8 kB / 1.209 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.543, allocations: 19.72 kB / 1.209 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.753e-05/0.543, allocations: 37.83 kB / 1.209 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5431, allocations: 0 / 1.209 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.5431, allocations: 0 / 1.209 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5431, allocations: 0 / 1.209 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009926/0.5441, allocations: 0.6951 MB / 1.21 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5441, allocations: 4 kB / 1.21 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.5442, allocations: 32.19 kB / 1.21 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.5443, allocations: 8 kB / 1.21 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.5443, allocations: 4 kB / 1.21 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.5443, allocations: 0 / 1.21 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5443, allocations: 7.938 kB / 1.21 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.5448, allocations: 365.1 kB / 1.21 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.5449, allocations: 116.8 kB / 1.21 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.5449, allocations: 8 kB / 1.21 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.5451, allocations: 15.92 kB / 1.21 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.5452, allocations: 23.97 kB / 1.21 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.5452, allocations: 4 kB / 1.21 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001586/0.5453, allocations: 180.4 kB / 1.21 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5454, allocations: 4 kB / 1.21 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003834/0.5457, allocations: 56 kB / 1.211 GB, free: 8.332 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003806/0.5461, allocations: 163.8 kB / 1.211 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004667/0.5466, allocations: 179.9 kB / 1.211 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5466, allocations: 0 / 1.211 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.5468, allocations: 99.81 kB / 1.211 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007556/0.5476, allocations: 126.5 kB / 1.211 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007857/0.5484, allocations: 0.4943 MB / 1.212 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.5487, allocations: 0.7482 MB / 1.212 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002344/0.549, allocations: 69.88 kB / 1.212 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.167e-05/0.549, allocations: 23.44 kB / 1.212 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of SimCode: time 4.5e-07/0.549, allocations: 0 / 1.212 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of Templates: time 0.008733/0.5578, allocations: 4.047 MB / 1.216 GB, free: 2.387 MB / 0.9669 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches