Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00671/0.00671, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001234/0.001234, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.91 kB / 0.9509 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.062, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2841/1.347, allocations: 241.9 MB / 1.324 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02361/1.37, allocations: 13.53 MB / 1.337 GB, free: 14 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003086/1.373, allocations: 55.62 kB / 1.337 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003721/1.377, allocations: 1.009 MB / 1.338 GB, free: 12.93 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006625/1.384, allocations: 1.861 MB / 1.34 GB, free: 11.06 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004221/1.388, allocations: 1.24 MB / 1.341 GB, free: 9.828 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005962/1.394, allocations: 3.264 MB / 1.345 GB, free: 6.551 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002322/1.396, allocations: 1.071 MB / 1.346 GB, free: 5.461 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01327/1.41, allocations: 4.25 MB / 1.35 GB, free: 1.195 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/1.412, allocations: 0.9021 MB / 1.351 GB, free: 296 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0006403/1.413, allocations: 76 kB / 1.351 GB, free: 220 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/1.416, allocations: 0.7053 MB / 1.351 GB, free: 15.51 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009702/1.417, allocations: 434.6 kB / 1.352 GB, free: 15.08 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001857/1.418, allocations: 0.68 MB / 1.353 GB, free: 14.4 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00367/1.422, allocations: 1.525 MB / 1.354 GB, free: 12.87 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.422, allocations: 0 / 1.354 GB, free: 12.87 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.813e-06/1.422, allocations: 0 / 1.354 GB, free: 12.87 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.462e-05/1.422, allocations: 0 / 1.354 GB, free: 12.87 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003414/1.426, allocations: 1.669 MB / 1.356 GB, free: 11.14 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.426, allocations: 15.97 kB / 1.356 GB, free: 11.12 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009182/1.427, allocations: 203 kB / 1.356 GB, free: 10.93 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/1.429, allocations: 0.9178 MB / 1.357 GB, free: 9.953 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/1.429, allocations: 121.4 kB / 1.357 GB, free: 9.824 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/1.429, allocations: 88 kB / 1.357 GB, free: 9.738 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/1.431, allocations: 0.9142 MB / 1.358 GB, free: 8.734 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/1.431, allocations: 4 kB / 1.358 GB, free: 8.73 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-05/1.431, allocations: 32 kB / 1.358 GB, free: 8.699 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/1.431, allocations: 20 kB / 1.358 GB, free: 8.68 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000985/1.432, allocations: 0.511 MB / 1.358 GB, free: 8.164 MB / 1.092 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.005797/1.438, allocations: 4.877 MB / 1.363 GB, free: 2.98 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/1.438, allocations: 420.6 kB / 1.364 GB, free: 2.441 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/1.439, allocations: 259.9 kB / 1.364 GB, free: 2.145 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/1.439, allocations: 105 kB / 1.364 GB, free: 2.023 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/1.439, allocations: 50.5 kB / 1.364 GB, free: 1.965 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 2.295e-06/1.439, allocations: 0 / 1.364 GB, free: 1.965 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.002037/1.441, allocations: 0.7904 MB / 1.365 GB, free: 1.125 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/1.441, allocations: 409.8 kB / 1.365 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/1.443, allocations: 1.271 MB / 1.366 GB, free: 15.35 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.691e-05/1.443, allocations: 41.7 kB / 1.366 GB, free: 15.3 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005396/1.444, allocations: 0.546 MB / 1.367 GB, free: 14.75 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/1.444, allocations: 111 kB / 1.367 GB, free: 14.64 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/1.444, allocations: 85.64 kB / 1.367 GB, free: 14.55 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.444, allocations: 325.9 kB / 1.367 GB, free: 14.23 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/1.445, allocations: 87.94 kB / 1.368 GB, free: 14.14 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/1.445, allocations: 334.2 kB / 1.368 GB, free: 13.72 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/1.446, allocations: 328.5 kB / 1.368 GB, free: 13.36 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.446, allocations: 3.938 kB / 1.368 GB, free: 13.35 MB / 1.107 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001012/1.447, allocations: 0.5018 MB / 1.369 GB, free: 12.84 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/1.447, allocations: 10.34 kB / 1.369 GB, free: 12.83 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.447, allocations: 352 / 1.369 GB, free: 12.83 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003279/1.447, allocations: 73.67 kB / 1.369 GB, free: 12.75 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/1.447, allocations: 55.91 kB / 1.369 GB, free: 12.7 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/1.45, allocations: 3.258 MB / 1.372 GB, free: 9.16 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009159/1.451, allocations: 107.4 kB / 1.372 GB, free: 9.055 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/1.451, allocations: 16 kB / 1.372 GB, free: 9.039 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004661/1.451, allocations: 277.6 kB / 1.372 GB, free: 8.758 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004897/1.452, allocations: 139.1 kB / 1.373 GB, free: 8.621 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/1.452, allocations: 128 kB / 1.373 GB, free: 8.492 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.475e-06/1.452, allocations: 8 kB / 1.373 GB, free: 8.484 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.452, allocations: 7.938 kB / 1.373 GB, free: 8.477 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.452, allocations: 15.92 kB / 1.373 GB, free: 8.461 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003598/1.456, allocations: 2.513 MB / 1.375 GB, free: 5.805 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/1.456, allocations: 4 kB / 1.375 GB, free: 5.801 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/1.456, allocations: 55.94 kB / 1.375 GB, free: 5.746 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002088/1.456, allocations: 69.67 kB / 1.375 GB, free: 5.672 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/1.456, allocations: 12 kB / 1.375 GB, free: 5.66 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00274/1.459, allocations: 3.262 MB / 1.378 GB, free: 2.117 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-06/1.459, allocations: 7.984 kB / 1.378 GB, free: 2.109 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/1.46, allocations: 0.6814 MB / 1.379 GB, free: 1.336 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006965/1.461, allocations: 264 kB / 1.379 GB, free: 1.059 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003621/1.461, allocations: 12 kB / 1.379 GB, free: 1.047 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.462, allocations: 43.94 kB / 1.379 GB, free: 1.004 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/1.463, allocations: 39.84 kB / 1.379 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.861e-05/1.463, allocations: 16 kB / 1.379 GB, free: 0.9492 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001955/1.465, allocations: 0.8843 MB / 1.38 GB, free: 68 kB / 1.107 GB Notification: Performance of sort global known variables: time 4.91e-07/1.465, allocations: 0 / 1.38 GB, free: 68 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.001482/1.466, allocations: 255.8 kB / 1.381 GB, free: 15.81 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006176/1.467, allocations: 209.2 kB / 1.381 GB, free: 15.61 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001243/1.468, allocations: 0.5244 MB / 1.381 GB, free: 15.06 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.468, allocations: 0 / 1.381 GB, free: 15.06 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006261/1.469, allocations: 407 kB / 1.382 GB, free: 14.64 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003763/1.472, allocations: 0.7423 MB / 1.382 GB, free: 13.91 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/1.475, allocations: 1.864 MB / 1.384 GB, free: 11.94 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008332/1.476, allocations: 1.127 MB / 1.385 GB, free: 10.79 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008333/1.477, allocations: 246.5 kB / 1.386 GB, free: 10.54 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/1.477, allocations: 83.38 kB / 1.386 GB, free: 10.46 MB / 1.123 GB Notification: Performance of SimCode: time 1.823e-06/1.477, allocations: 4 kB / 1.386 GB, free: 10.45 MB / 1.123 GB Notification: Performance of Templates: time 0.04507/1.522, allocations: 23.35 MB / 1.408 GB, free: 3.457 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches