Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_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_latest_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.001549/0.001549, allocations: 104 kB / 16.35 MB, free: 5.824 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.001782/0.001782, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.448/2.448, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 67.28 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3352, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.8582/1.194, allocations: 241.9 MB / 1.263 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01883/1.212, allocations: 13.52 MB / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002634/1.215, allocations: 63.56 kB / 1.276 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00284/1.218, allocations: 0.9821 MB / 1.277 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004964/1.223, allocations: 1.783 MB / 1.279 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003078/1.226, allocations: 1.229 MB / 1.28 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004729/1.231, allocations: 3.264 MB / 1.283 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/1.233, allocations: 1.051 MB / 1.284 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009291/1.242, allocations: 4.129 MB / 1.288 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/1.244, allocations: 0.906 MB / 1.289 GB, free: 296 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/1.244, allocations: 76 kB / 1.289 GB, free: 220 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/1.245, allocations: 0.6976 MB / 1.29 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004399/1.246, allocations: 446.5 kB / 1.29 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007841/1.247, allocations: 0.68 MB / 1.291 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001884/1.249, allocations: 1.522 MB / 1.293 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.249, allocations: 0 / 1.293 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/1.249, allocations: 0 / 1.293 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.717e-05/1.249, allocations: 0 / 1.293 GB, free: 12.87 MB / 0.9981 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.002366/1.251, allocations: 1.62 MB / 1.294 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.251, allocations: 8.031 kB / 1.294 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006805/1.252, allocations: 198.2 kB / 1.294 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/1.253, allocations: 0.9088 MB / 1.295 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/1.253, allocations: 121.4 kB / 1.295 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/1.254, allocations: 88 kB / 1.295 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/1.255, allocations: 0.9142 MB / 1.296 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/1.255, allocations: 7.938 kB / 1.296 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.596e-05/1.255, allocations: 32 kB / 1.296 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/1.255, allocations: 20 kB / 1.296 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009289/1.256, allocations: 0.5158 MB / 1.297 GB, free: 8.234 MB / 0.9981 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.005709/1.262, allocations: 4.853 MB / 1.302 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/1.262, allocations: 420.7 kB / 1.302 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/1.263, allocations: 267.8 kB / 1.302 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/1.263, allocations: 93.09 kB / 1.302 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/1.263, allocations: 62.42 kB / 1.302 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/1.263, allocations: 0 / 1.302 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001995/1.265, allocations: 0.7786 MB / 1.303 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002172/1.265, allocations: 401.9 kB / 1.304 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/1.267, allocations: 1.267 MB / 1.305 GB, free: 15.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/1.267, allocations: 41.7 kB / 1.305 GB, free: 15.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005071/1.267, allocations: 0.5497 MB / 1.305 GB, free: 14.85 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/1.267, allocations: 106.4 kB / 1.306 GB, free: 14.74 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/1.268, allocations: 85.59 kB / 1.306 GB, free: 14.65 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.268, allocations: 322 kB / 1.306 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/1.268, allocations: 87.94 kB / 1.306 GB, free: 14.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/1.268, allocations: 338.1 kB / 1.306 GB, free: 13.82 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/1.269, allocations: 328.5 kB / 1.307 GB, free: 13.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.269, allocations: 0 / 1.307 GB, free: 13.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008313/1.27, allocations: 0.4894 MB / 1.307 GB, free: 12.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/1.27, allocations: 4 kB / 1.307 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.27, allocations: 4.781 kB / 1.307 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/1.27, allocations: 77.95 kB / 1.307 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/1.27, allocations: 55.91 kB / 1.307 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/1.273, allocations: 3.258 MB / 1.31 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007737/1.274, allocations: 107.2 kB / 1.311 GB, free: 9.168 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/1.274, allocations: 16 kB / 1.311 GB, free: 9.152 MB / 1.014 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.0004215/1.274, allocations: 277.7 kB / 1.311 GB, free: 8.871 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/1.274, allocations: 134.3 kB / 1.311 GB, free: 8.738 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/1.275, allocations: 131.9 kB / 1.311 GB, free: 8.602 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.275, allocations: 4 kB / 1.311 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/1.275, allocations: 11.94 kB / 1.311 GB, free: 8.586 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/1.275, allocations: 4 kB / 1.311 GB, free: 8.582 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/1.278, allocations: 2.52 MB / 1.314 GB, free: 5.918 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/1.278, allocations: 8.688 kB / 1.314 GB, free: 5.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/1.278, allocations: 51.91 kB / 1.314 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001817/1.278, allocations: 69.86 kB / 1.314 GB, free: 5.785 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/1.278, allocations: 12 kB / 1.314 GB, free: 5.773 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/1.281, allocations: 3.264 MB / 1.317 GB, free: 2.234 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/1.281, allocations: 11.94 kB / 1.317 GB, free: 2.223 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008815/1.282, allocations: 0.6728 MB / 1.318 GB, free: 1.457 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004429/1.282, allocations: 247.4 kB / 1.318 GB, free: 1.195 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/1.282, allocations: 15.98 kB / 1.318 GB, free: 1.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006325/1.283, allocations: 39.95 kB / 1.318 GB, free: 1.141 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.292e-05/1.283, allocations: 39.84 kB / 1.318 GB, free: 1.102 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/1.283, allocations: 19.98 kB / 1.318 GB, free: 1.082 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001193/1.284, allocations: 0.8802 MB / 1.319 GB, free: 208 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.284, allocations: 0 / 1.319 GB, free: 208 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.00105/1.285, allocations: 251.7 kB / 1.319 GB, free: 15.95 MB / 1.029 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.0005112/1.286, allocations: 215.9 kB / 1.319 GB, free: 15.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009907/1.287, allocations: 0.5249 MB / 1.32 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/1.287, allocations: 4 kB / 1.32 GB, free: 15.19 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005403/1.287, allocations: 402.9 kB / 1.32 GB, free: 14.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/1.29, allocations: 0.7523 MB / 1.321 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/1.293, allocations: 1.821 MB / 1.323 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/1.293, allocations: 1.134 MB / 1.324 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006735/1.294, allocations: 238.5 kB / 1.324 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/1.294, allocations: 83.42 kB / 1.324 GB, free: 10.62 MB / 1.029 GB Notification: Performance of SimCode: time 2.455e-06/1.294, allocations: 4 kB / 1.324 GB, free: 10.62 MB / 1.029 GB Notification: Performance of Templates: time 0.04385/1.338, allocations: 23.23 MB / 1.347 GB, free: 3.727 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches