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.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.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.001692/0.001692, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001985/0.001985, allocations: 191.3 kB / 16.14 MB, free: 6.711 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 66.12 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3077, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.8936/1.201, allocations: 239.7 MB / 1.286 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01634/1.218, allocations: 13.58 MB / 1.299 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/1.22, allocations: 55.72 kB / 1.299 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002367/1.222, allocations: 0.8239 MB / 1.3 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004602/1.227, allocations: 1.693 MB / 1.302 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003214/1.23, allocations: 1.124 MB / 1.303 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005488/1.236, allocations: 4.606 MB / 1.308 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/1.238, allocations: 0.8994 MB / 1.308 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01187/1.249, allocations: 3.846 MB / 1.312 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002621/1.252, allocations: 0.9632 MB / 1.313 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004259/1.253, allocations: 54.44 kB / 1.313 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002418/1.255, allocations: 0.9007 MB / 1.314 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005433/1.256, allocations: 414.4 kB / 1.314 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/1.257, allocations: 0.6589 MB / 1.315 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002172/1.259, allocations: 1.541 MB / 1.317 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.259, allocations: 3.938 kB / 1.317 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/1.259, allocations: 0 / 1.317 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.905e-05/1.259, allocations: 2.594 kB / 1.317 GB, free: 0.8555 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.002354/1.261, allocations: 1.623 MB / 1.318 GB, free: 15.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/1.261, allocations: 10.72 kB / 1.318 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006578/1.262, allocations: 196.2 kB / 1.318 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/1.263, allocations: 0.8314 MB / 1.319 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/1.263, allocations: 121.2 kB / 1.319 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-05/1.263, allocations: 88.67 kB / 1.319 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/1.265, allocations: 0.9186 MB / 1.32 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/1.265, allocations: 3.812 kB / 1.32 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-05/1.265, allocations: 34.25 kB / 1.32 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/1.265, allocations: 24.75 kB / 1.32 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008458/1.266, allocations: 0.5079 MB / 1.321 GB, free: 15.14 MB / 1.014 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.005201/1.271, allocations: 4.871 MB / 1.326 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005641/1.272, allocations: 423 kB / 1.326 GB, free: 11.35 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/1.272, allocations: 263.7 kB / 1.326 GB, free: 11.24 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/1.272, allocations: 103.5 kB / 1.326 GB, free: 11.14 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/1.272, allocations: 53.7 kB / 1.326 GB, free: 11.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/1.272, allocations: 0 / 1.326 GB, free: 11.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001776/1.274, allocations: 0.7837 MB / 1.327 GB, free: 10.78 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/1.274, allocations: 404 kB / 1.328 GB, free: 10.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/1.275, allocations: 1.267 MB / 1.329 GB, free: 10.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/1.275, allocations: 44.86 kB / 1.329 GB, free: 10.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00035/1.276, allocations: 0.5446 MB / 1.329 GB, free: 9.984 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/1.276, allocations: 110.4 kB / 1.329 GB, free: 9.914 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/1.276, allocations: 84.88 kB / 1.33 GB, free: 9.895 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.276, allocations: 323.7 kB / 1.33 GB, free: 9.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/1.276, allocations: 88.14 kB / 1.33 GB, free: 9.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/1.277, allocations: 339.4 kB / 1.33 GB, free: 9.336 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/1.277, allocations: 325.9 kB / 1.331 GB, free: 9.211 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.277, allocations: 0 / 1.331 GB, free: 9.211 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007909/1.278, allocations: 0.4899 MB / 1.331 GB, free: 9.086 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.278, allocations: 7.344 kB / 1.331 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.278, allocations: 5.594 kB / 1.331 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/1.278, allocations: 70.06 kB / 1.331 GB, free: 9.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/1.278, allocations: 61.11 kB / 1.331 GB, free: 9.066 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/1.281, allocations: 2.929 MB / 1.334 GB, free: 6.379 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008827/1.282, allocations: 116.6 kB / 1.334 GB, free: 6.332 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/1.282, allocations: 19 kB / 1.334 GB, free: 6.332 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.0003737/1.282, allocations: 274.1 kB / 1.334 GB, free: 6.211 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/1.283, allocations: 140.9 kB / 1.335 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/1.283, allocations: 130.8 kB / 1.335 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.283, allocations: 2.781 kB / 1.335 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/1.283, allocations: 11.31 kB / 1.335 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.283, allocations: 6.312 kB / 1.335 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/1.286, allocations: 2.511 MB / 1.337 GB, free: 4.621 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.286, allocations: 5.094 kB / 1.337 GB, free: 4.621 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/1.286, allocations: 52.22 kB / 1.337 GB, free: 4.621 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000173/1.286, allocations: 70.97 kB / 1.337 GB, free: 4.602 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/1.286, allocations: 12.06 kB / 1.337 GB, free: 4.602 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/1.288, allocations: 2.928 MB / 1.34 GB, free: 1.922 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.288, allocations: 14.62 kB / 1.34 GB, free: 1.918 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008264/1.289, allocations: 0.6687 MB / 1.341 GB, free: 1.504 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/1.289, allocations: 248.2 kB / 1.341 GB, free: 1.336 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/1.29, allocations: 13.72 kB / 1.341 GB, free: 1.336 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007031/1.29, allocations: 67.11 kB / 1.341 GB, free: 1.324 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/1.29, allocations: 37.41 kB / 1.341 GB, free: 1.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/1.29, allocations: 23.91 kB / 1.341 GB, free: 1.316 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001003/1.291, allocations: 0.875 MB / 1.342 GB, free: 1.207 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/1.291, allocations: 2.531 kB / 1.342 GB, free: 1.207 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00133/1.293, allocations: 270.9 kB / 1.342 GB, free: 1.195 MB / 1.014 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.0005824/1.293, allocations: 219.7 kB / 1.343 GB, free: 1.074 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001024/1.294, allocations: 0.5034 MB / 1.343 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.294, allocations: 6.25 kB / 1.343 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005289/1.295, allocations: 404.8 kB / 1.343 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003456/1.298, allocations: 0.7487 MB / 1.344 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/1.301, allocations: 2.183 MB / 1.346 GB, free: 15.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008177/1.302, allocations: 1.135 MB / 1.347 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009343/1.303, allocations: 239.5 kB / 1.348 GB, free: 14.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/1.303, allocations: 78.39 kB / 1.348 GB, free: 14.5 MB / 1.029 GB Notification: Performance of SimCode: time 8.11e-07/1.303, allocations: 0 / 1.348 GB, free: 14.5 MB / 1.029 GB Notification: Performance of Templates: time 0.03798/1.341, allocations: 22.48 MB / 1.37 GB, free: 6.652 MB / 1.029 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches