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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 106.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.095/3.095, allocations: 497.2 MB / 0.7811 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 66.73 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3108, allocations: 173.9 MB / 1.304 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2716/0.5824, allocations: 242.9 MB / 1.541 GB, free: 13.73 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02082/0.6032, allocations: 13.59 MB / 1.554 GB, free: 104 kB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.6053, allocations: 63.56 kB / 1.555 GB, free: 40 kB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.6082, allocations: 1.021 MB / 1.556 GB, free: 15.01 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.005052/0.6133, allocations: 1.831 MB / 1.557 GB, free: 13.17 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.6166, allocations: 1.238 MB / 1.559 GB, free: 11.94 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.004817/0.6214, allocations: 3.233 MB / 1.562 GB, free: 8.703 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.623, allocations: 0.8831 MB / 1.563 GB, free: 7.793 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00977/0.6328, allocations: 4.308 MB / 1.567 GB, free: 3.469 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.6345, allocations: 0.9294 MB / 1.568 GB, free: 2.535 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.6348, allocations: 79.98 kB / 1.568 GB, free: 2.457 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.6364, allocations: 0.7402 MB / 1.568 GB, free: 1.715 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0005027/0.6369, allocations: 446.5 kB / 1.569 GB, free: 1.277 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0009328/0.6378, allocations: 0.6839 MB / 1.57 GB, free: 0.5898 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.002461/0.6403, allocations: 1.525 MB / 1.571 GB, free: 15.05 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6403, allocations: 3.938 kB / 1.571 GB, free: 15.05 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6403, allocations: 0 / 1.571 GB, free: 15.05 MB / 1.279 GB Notification: Performance of Transformations before backend: time 4.707e-05/0.6404, allocations: 8 kB / 1.571 GB, free: 15.04 MB / 1.279 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.002819/0.6432, allocations: 1.657 MB / 1.573 GB, free: 13.33 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.6432, allocations: 8.625 kB / 1.573 GB, free: 13.32 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/0.6434, allocations: 130.7 kB / 1.573 GB, free: 13.19 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007444/0.6441, allocations: 203 kB / 1.573 GB, free: 12.99 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.6459, allocations: 0.9139 MB / 1.574 GB, free: 12.02 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.6461, allocations: 121.4 kB / 1.574 GB, free: 11.89 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.6462, allocations: 91.94 kB / 1.574 GB, free: 11.8 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.6477, allocations: 0.9142 MB / 1.575 GB, free: 10.79 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.6477, allocations: 3.938 kB / 1.575 GB, free: 10.79 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.791e-05/0.6478, allocations: 36 kB / 1.575 GB, free: 10.75 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.6478, allocations: 24 kB / 1.575 GB, free: 10.73 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009022/0.6487, allocations: 0.5071 MB / 1.576 GB, free: 10.22 MB / 1.279 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.00555/0.6542, allocations: 4.866 MB / 1.58 GB, free: 5.043 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006351/0.6549, allocations: 412.7 kB / 1.581 GB, free: 4.512 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.6552, allocations: 251.8 kB / 1.581 GB, free: 4.223 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.6554, allocations: 105.1 kB / 1.581 GB, free: 4.102 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.6555, allocations: 50.44 kB / 1.581 GB, free: 4.043 MB / 1.279 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.6555, allocations: 4 kB / 1.581 GB, free: 4.039 MB / 1.279 GB Notification: Performance of matching and sorting (n=31): time 0.001897/0.6574, allocations: 0.7867 MB / 1.582 GB, free: 3.203 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002001/0.6576, allocations: 397.5 kB / 1.582 GB, free: 2.723 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.6592, allocations: 1.275 MB / 1.583 GB, free: 1.438 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-05/0.6593, allocations: 33.7 kB / 1.584 GB, free: 1.398 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005323/0.6599, allocations: 0.5578 MB / 1.584 GB, free: 0.8359 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.66, allocations: 107 kB / 1.584 GB, free: 0.7305 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.6601, allocations: 89.64 kB / 1.584 GB, free: 0.6367 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6602, allocations: 325.9 kB / 1.585 GB, free: 320 kB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.6604, allocations: 91.69 kB / 1.585 GB, free: 228 kB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.6609, allocations: 338.8 kB / 1.585 GB, free: 15.8 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.6614, allocations: 320.6 kB / 1.585 GB, free: 15.44 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.6614, allocations: 4 kB / 1.585 GB, free: 15.43 MB / 1.295 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009485/0.6623, allocations: 0.4982 MB / 1.586 GB, free: 14.92 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.6623, allocations: 8.031 kB / 1.586 GB, free: 14.91 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.6624, allocations: 7.938 kB / 1.586 GB, free: 14.91 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003032/0.6627, allocations: 69.67 kB / 1.586 GB, free: 14.83 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.6629, allocations: 63.91 kB / 1.586 GB, free: 14.77 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.6656, allocations: 3.251 MB / 1.589 GB, free: 11.24 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009259/0.6665, allocations: 107.3 kB / 1.589 GB, free: 11.14 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.988e-05/0.6666, allocations: 20 kB / 1.589 GB, free: 11.12 MB / 1.295 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.0004572/0.667, allocations: 273.6 kB / 1.589 GB, free: 10.84 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004373/0.6675, allocations: 139.1 kB / 1.59 GB, free: 10.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.6677, allocations: 128 kB / 1.59 GB, free: 10.57 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6677, allocations: 11.94 kB / 1.59 GB, free: 10.56 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.6677, allocations: 8 kB / 1.59 GB, free: 10.55 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.6677, allocations: 7.984 kB / 1.59 GB, free: 10.55 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003495/0.6712, allocations: 2.516 MB / 1.592 GB, free: 7.887 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.6712, allocations: 4 kB / 1.592 GB, free: 7.883 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.6714, allocations: 47.91 kB / 1.592 GB, free: 7.836 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002097/0.6716, allocations: 81.61 kB / 1.592 GB, free: 7.75 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.6716, allocations: 8 kB / 1.592 GB, free: 7.742 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002641/0.6742, allocations: 3.255 MB / 1.596 GB, free: 4.207 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.6743, allocations: 16 kB / 1.596 GB, free: 4.191 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.6753, allocations: 0.6813 MB / 1.596 GB, free: 3.418 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005656/0.6759, allocations: 260.2 kB / 1.596 GB, free: 3.145 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.6761, allocations: 12 kB / 1.596 GB, free: 3.133 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/0.6767, allocations: 39.94 kB / 1.597 GB, free: 3.094 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.846e-05/0.6768, allocations: 47.83 kB / 1.597 GB, free: 3.047 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.6768, allocations: 16 kB / 1.597 GB, free: 3.031 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001202/0.678, allocations: 0.8802 MB / 1.597 GB, free: 2.152 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.678, allocations: 0 / 1.597 GB, free: 2.152 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001176/0.6792, allocations: 259.8 kB / 1.598 GB, free: 1.898 MB / 1.295 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.001691/0.6809, allocations: 1.341 MB / 1.599 GB, free: 480 kB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0009941/0.6819, allocations: 0.5125 MB / 1.599 GB, free: 15.93 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.6819, allocations: 4.688 kB / 1.599 GB, free: 15.93 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0005705/0.6825, allocations: 402.3 kB / 1.6 GB, free: 15.51 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/0.6858, allocations: 0.7407 MB / 1.601 GB, free: 14.77 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/0.6979, allocations: 8.243 MB / 1.609 GB, free: 6.176 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008264/0.6987, allocations: 1.134 MB / 1.61 GB, free: 5.012 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.0009448/0.6997, allocations: 254.5 kB / 1.61 GB, free: 4.758 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005469/0.7002, allocations: 435.3 kB / 1.61 GB, free: 4.332 MB / 1.311 GB Notification: Performance of SimCode: time 1.062e-06/0.7002, allocations: 3.938 kB / 1.61 GB, free: 4.328 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6708/1.371, allocations: 34.41 MB / 1.644 GB, free: 304.4 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.86, allocations: 17.2 kB / 1.644 GB, free: 304.3 MB / 1.311 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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: 20.548248873092234]