Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.001786/0.001786, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001797/0.001797, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9081/0.9081, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.736/1.736, allocations: 377.8 MB / 0.6228 GB, free: 8.688 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.9822 GB, free: 1.012 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.719e-05, allocations: 2.281 kB / 0.9822 GB, free: 1.008 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6202/0.6202, allocations: 153 MB / 1.132 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003203/0.6234, allocations: 1.762 MB / 1.133 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004364/0.6239, allocations: 20.09 kB / 1.133 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0007132/0.6246, allocations: 220.3 kB / 1.134 GB, free: 10.31 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.6264, allocations: 0.785 MB / 1.134 GB, free: 9.711 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.6283, allocations: 0.905 MB / 1.135 GB, free: 9.043 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.6293, allocations: 0.8422 MB / 1.136 GB, free: 8.551 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00044/0.6298, allocations: 224.7 kB / 1.136 GB, free: 8.398 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.6311, allocations: 0.7018 MB / 1.137 GB, free: 7.961 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.6314, allocations: 238.2 kB / 1.137 GB, free: 7.836 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 4.667e-05/0.6315, allocations: 26.59 kB / 1.137 GB, free: 7.836 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.6334, allocations: 0.9087 MB / 1.138 GB, free: 7.316 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.6336, allocations: 128.5 kB / 1.138 GB, free: 7.23 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.6337, allocations: 141.6 kB / 1.138 GB, free: 7.168 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.6353, allocations: 0.9254 MB / 1.139 GB, free: 6.625 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6353, allocations: 1.031 kB / 1.139 GB, free: 6.625 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6353, allocations: 0 / 1.139 GB, free: 6.625 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.6353, allocations: 0 / 1.139 GB, free: 6.625 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001247/0.6366, allocations: 0.7126 MB / 1.14 GB, free: 6.043 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.6366, allocations: 9.469 kB / 1.14 GB, free: 6.043 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005762/0.6372, allocations: 165.4 kB / 1.14 GB, free: 5.965 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.6377, allocations: 300.7 kB / 1.14 GB, free: 5.711 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.6377, allocations: 25.08 kB / 1.14 GB, free: 5.699 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.6378, allocations: 26.38 kB / 1.14 GB, free: 5.691 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005054/0.6383, allocations: 390.9 kB / 1.141 GB, free: 5.434 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.6383, allocations: 9.297 kB / 1.141 GB, free: 5.426 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.6383, allocations: 10.75 kB / 1.141 GB, free: 5.418 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.6383, allocations: 15.66 kB / 1.141 GB, free: 5.414 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.6388, allocations: 343.6 kB / 1.141 GB, free: 5.246 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.6401, allocations: 1.235 MB / 1.142 GB, free: 4.27 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.6405, allocations: 217.6 kB / 1.143 GB, free: 4.156 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.6406, allocations: 131.7 kB / 1.143 GB, free: 4.09 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002585/0.6409, allocations: 73.3 kB / 1.143 GB, free: 4.062 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.6409, allocations: 41.25 kB / 1.143 GB, free: 4.016 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=20): time 2.234e-06/0.6409, allocations: 0 / 1.143 GB, free: 4.016 MB / 0.9792 GB Notification: Performance of matching and sorting (n=20): time 0.0006204/0.6416, allocations: 378.7 kB / 1.143 GB, free: 3.824 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.6416, allocations: 62.05 kB / 1.143 GB, free: 3.754 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004713/0.6421, allocations: 268.2 kB / 1.143 GB, free: 3.574 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.6421, allocations: 28.45 kB / 1.143 GB, free: 3.543 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.6422, allocations: 206.6 kB / 1.144 GB, free: 3.352 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.6422, allocations: 74.05 kB / 1.144 GB, free: 3.289 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.6423, allocations: 52.75 kB / 1.144 GB, free: 3.25 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.6424, allocations: 336 kB / 1.144 GB, free: 2.918 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.6425, allocations: 92.02 kB / 1.144 GB, free: 2.875 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.6427, allocations: 237.4 kB / 1.144 GB, free: 2.668 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.643, allocations: 241.5 kB / 1.145 GB, free: 2.516 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.643, allocations: 3.25 kB / 1.145 GB, free: 2.516 MB / 0.9792 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003551/0.6434, allocations: 302.3 kB / 1.145 GB, free: 2.352 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.6434, allocations: 9.062 kB / 1.145 GB, free: 2.348 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6434, allocations: 0 / 1.145 GB, free: 2.348 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.6434, allocations: 6.766 kB / 1.145 GB, free: 2.344 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.6435, allocations: 56.86 kB / 1.145 GB, free: 2.328 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.6436, allocations: 6.609 kB / 1.145 GB, free: 2.324 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.6437, allocations: 28.38 kB / 1.145 GB, free: 2.305 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.6437, allocations: 16.69 kB / 1.145 GB, free: 2.297 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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.0001297/0.6438, allocations: 151.4 kB / 1.145 GB, free: 2.16 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.6439, allocations: 33.5 kB / 1.145 GB, free: 2.141 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004011/0.6443, allocations: 296.7 kB / 1.146 GB, free: 1.957 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.6443, allocations: 3 kB / 1.146 GB, free: 1.957 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.6443, allocations: 0 / 1.146 GB, free: 1.957 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.6443, allocations: 0 / 1.146 GB, free: 1.957 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008579/0.6451, allocations: 0.7934 MB / 1.146 GB, free: 1.348 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6451, allocations: 2.969 kB / 1.146 GB, free: 1.348 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.6452, allocations: 47 kB / 1.146 GB, free: 1.332 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.361e-06/0.6453, allocations: 9.688 kB / 1.146 GB, free: 1.328 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.6453, allocations: 2.906 kB / 1.146 GB, free: 1.328 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.6453, allocations: 7.281 kB / 1.146 GB, free: 1.328 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.6453, allocations: 10.31 kB / 1.146 GB, free: 1.32 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.6457, allocations: 434.6 kB / 1.147 GB, free: 0.9805 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.6457, allocations: 52.28 kB / 1.147 GB, free: 0.9453 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.6458, allocations: 9.5 kB / 1.147 GB, free: 0.9414 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.6459, allocations: 19.95 kB / 1.147 GB, free: 0.9297 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.6459, allocations: 24.5 kB / 1.147 GB, free: 0.9141 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.646, allocations: 5.562 kB / 1.147 GB, free: 0.9141 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001325/0.6461, allocations: 189 kB / 1.147 GB, free: 0.7852 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.6461, allocations: 0 / 1.147 GB, free: 0.7852 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000392/0.6465, allocations: 106.9 kB / 1.147 GB, free: 0.7617 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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.0002585/0.6467, allocations: 165.4 kB / 1.147 GB, free: 0.6367 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003516/0.6471, allocations: 233.9 kB / 1.148 GB, free: 0.5312 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.6471, allocations: 0 / 1.148 GB, free: 0.5312 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.6472, allocations: 132.1 kB / 1.148 GB, free: 476 kB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.6478, allocations: 153 kB / 1.148 GB, free: 404 kB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007845/0.6486, allocations: 0.6341 MB / 1.148 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.6487, allocations: 195.4 kB / 1.149 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.928e-05/0.6488, allocations: 30.72 kB / 1.149 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of SimCode: time 7.31e-07/0.6488, allocations: 0 / 1.149 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of Templates: time 0.005379/0.6542, allocations: 5.222 MB / 1.154 GB, free: 13.06 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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: 7.881688511930406]