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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001436/0.001436, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001375/0.001375, allocations: 194.1 kB / 16.25 MB, free: 6.633 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.455/1.455, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.979/2.979, allocations: 482.3 MB / 0.7543 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 68.16 kB / 0.9233 GB, free: 29.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3167, allocations: 162.2 MB / 1.082 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.7956/1.112, allocations: 239.1 MB / 1.315 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01491/1.127, allocations: 13.46 MB / 1.328 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002863/1.13, allocations: 55.84 kB / 1.328 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002458/1.133, allocations: 0.8519 MB / 1.329 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004489/1.137, allocations: 1.647 MB / 1.331 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003028/1.14, allocations: 1.126 MB / 1.332 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004763/1.145, allocations: 3.245 MB / 1.335 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/1.146, allocations: 1.012 MB / 1.336 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009236/1.156, allocations: 4.08 MB / 1.34 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/1.157, allocations: 0.916 MB / 1.341 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/1.157, allocations: 83.22 kB / 1.341 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/1.159, allocations: 0.7389 MB / 1.342 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003568/1.159, allocations: 446.3 kB / 1.342 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006938/1.16, allocations: 0.6815 MB / 1.343 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/1.162, allocations: 1.575 MB / 1.344 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.162, allocations: 0 / 1.344 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/1.162, allocations: 0 / 1.344 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.494e-05/1.162, allocations: 0 / 1.344 GB, free: 3.77 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.002004/1.164, allocations: 1.622 MB / 1.346 GB, free: 18.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/1.164, allocations: 10.66 kB / 1.346 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005737/1.164, allocations: 200.5 kB / 1.346 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009775/1.165, allocations: 0.8395 MB / 1.347 GB, free: 18.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/1.166, allocations: 127 kB / 1.347 GB, free: 18.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.603e-05/1.166, allocations: 84.41 kB / 1.347 GB, free: 18.01 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/1.167, allocations: 0.9123 MB / 1.348 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/1.167, allocations: 12.31 kB / 1.348 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.318e-05/1.167, allocations: 34.19 kB / 1.348 GB, free: 17.47 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/1.167, allocations: 21 kB / 1.348 GB, free: 17.47 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000744/1.168, allocations: 0.5076 MB / 1.349 GB, free: 17.32 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.004389/1.172, allocations: 4.867 MB / 1.353 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/1.173, allocations: 423.9 kB / 1.354 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/1.173, allocations: 259.9 kB / 1.354 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/1.173, allocations: 106.5 kB / 1.354 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/1.173, allocations: 58.64 kB / 1.354 GB, free: 12.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/1.173, allocations: 0 / 1.354 GB, free: 12.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001583/1.175, allocations: 0.775 MB / 1.355 GB, free: 12.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002253/1.175, allocations: 403.1 kB / 1.355 GB, free: 11.83 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/1.176, allocations: 1.264 MB / 1.357 GB, free: 11.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/1.176, allocations: 42.05 kB / 1.357 GB, free: 11.33 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/1.177, allocations: 0.553 MB / 1.357 GB, free: 10.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.499e-05/1.177, allocations: 115.7 kB / 1.357 GB, free: 10.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/1.177, allocations: 76.91 kB / 1.357 GB, free: 10.76 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.177, allocations: 316.4 kB / 1.358 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/1.177, allocations: 93.09 kB / 1.358 GB, free: 10.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/1.178, allocations: 340.4 kB / 1.358 GB, free: 10.13 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/1.178, allocations: 326.7 kB / 1.358 GB, free: 9.934 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.178, allocations: 0.8125 kB / 1.358 GB, free: 9.934 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007659/1.179, allocations: 0.4973 MB / 1.359 GB, free: 9.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.179, allocations: 5 kB / 1.359 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.179, allocations: 7.891 kB / 1.359 GB, free: 9.727 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00029/1.179, allocations: 73.7 kB / 1.359 GB, free: 9.699 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/1.179, allocations: 50.89 kB / 1.359 GB, free: 9.699 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/1.182, allocations: 3.258 MB / 1.362 GB, free: 6.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008025/1.183, allocations: 116.2 kB / 1.362 GB, free: 6.465 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/1.183, allocations: 20.66 kB / 1.362 GB, free: 6.461 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.0003802/1.183, allocations: 277 kB / 1.363 GB, free: 6.277 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/1.184, allocations: 133.3 kB / 1.363 GB, free: 6.211 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/1.184, allocations: 126.9 kB / 1.363 GB, free: 6.148 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/1.184, allocations: 10.25 kB / 1.363 GB, free: 6.145 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/1.184, allocations: 8.969 kB / 1.363 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/1.184, allocations: 8.094 kB / 1.363 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/1.187, allocations: 2.524 MB / 1.365 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/1.187, allocations: 5.688 kB / 1.365 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/1.187, allocations: 51.5 kB / 1.365 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001649/1.187, allocations: 71.44 kB / 1.365 GB, free: 4.293 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/1.187, allocations: 9.875 kB / 1.365 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002655/1.19, allocations: 3.271 MB / 1.369 GB, free: 1.102 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/1.19, allocations: 6.906 kB / 1.369 GB, free: 1.102 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008852/1.191, allocations: 0.6684 MB / 1.369 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004061/1.191, allocations: 256.6 kB / 1.37 GB, free: 424 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/1.192, allocations: 12.33 kB / 1.37 GB, free: 420 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006894/1.192, allocations: 63.3 kB / 1.37 GB, free: 404 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/1.192, allocations: 40.39 kB / 1.37 GB, free: 392 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/1.192, allocations: 20.16 kB / 1.37 GB, free: 388 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009991/1.193, allocations: 0.878 MB / 1.371 GB, free: 48 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.193, allocations: 0 / 1.371 GB, free: 48 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.001067/1.194, allocations: 270.1 kB / 1.371 GB, free: 20 kB / 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.0005037/1.195, allocations: 213.1 kB / 1.371 GB, free: 15.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009299/1.196, allocations: 0.521 MB / 1.371 GB, free: 15.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.196, allocations: 0 / 1.371 GB, free: 15.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005408/1.196, allocations: 404.9 kB / 1.372 GB, free: 15.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/1.2, allocations: 0.7596 MB / 1.373 GB, free: 15.1 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/1.203, allocations: 2.167 MB / 1.375 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009065/1.204, allocations: 1.135 MB / 1.376 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009461/1.205, allocations: 244.3 kB / 1.376 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/1.205, allocations: 84.97 kB / 1.376 GB, free: 12.89 MB / 1.029 GB Notification: Performance of SimCode: time 1.062e-06/1.205, allocations: 0 / 1.376 GB, free: 12.89 MB / 1.029 GB Notification: Performance of Templates: time 0.04197/1.247, allocations: 23.09 MB / 1.399 GB, free: 3.418 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=400 -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