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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001742/0.001742, allocations: 189.2 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.379/1.379, 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 11.0.1-master/package.mo): time 2.555/2.555, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 72.91 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2306, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6461/0.8768, allocations: 239 MB / 1.286 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0144/0.8912, allocations: 13.45 MB / 1.299 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.8931, allocations: 53.72 kB / 1.299 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002202/0.8954, allocations: 0.8593 MB / 1.3 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003975/0.8994, allocations: 1.672 MB / 1.301 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.9022, allocations: 1.13 MB / 1.303 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0036/0.9058, allocations: 3.277 MB / 1.306 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.9072, allocations: 1.01 MB / 1.307 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008346/0.9156, allocations: 4.019 MB / 1.311 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.9176, allocations: 0.9611 MB / 1.312 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003829/0.918, allocations: 79.16 kB / 1.312 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.9201, allocations: 0.7431 MB / 1.312 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006334/0.9207, allocations: 443.8 kB / 1.313 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.9222, allocations: 0.6828 MB / 1.313 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.9247, allocations: 1.578 MB / 1.315 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9247, allocations: 0 / 1.315 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9248, allocations: 3.938 kB / 1.315 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.485e-05/0.9248, allocations: 0.5625 kB / 1.315 GB, free: 1.176 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.002899/0.9277, allocations: 1.624 MB / 1.317 GB, free: 16.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.9278, allocations: 10.53 kB / 1.317 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.928, allocations: 126.9 kB / 1.317 GB, free: 16.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000788/0.9287, allocations: 198 kB / 1.317 GB, free: 16.17 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.9301, allocations: 0.8311 MB / 1.318 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.9302, allocations: 120.4 kB / 1.318 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/0.9303, allocations: 87.94 kB / 1.318 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.9315, allocations: 0.9209 MB / 1.319 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.9315, allocations: 3.719 kB / 1.319 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.9315, allocations: 35.03 kB / 1.319 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.9316, allocations: 20.19 kB / 1.319 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007022/0.9323, allocations: 0.5074 MB / 1.319 GB, free: 15.45 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.004156/0.9364, allocations: 4.873 MB / 1.324 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/0.937, allocations: 424.5 kB / 1.325 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.9373, allocations: 261.2 kB / 1.325 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/0.9374, allocations: 101.6 kB / 1.325 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.9375, allocations: 62.53 kB / 1.325 GB, free: 11.42 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 3.356e-06/0.9375, allocations: 0 / 1.325 GB, free: 11.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.0016/0.9391, allocations: 0.7762 MB / 1.326 GB, free: 11.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.9393, allocations: 406.3 kB / 1.326 GB, free: 10.63 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.9405, allocations: 1.272 MB / 1.327 GB, free: 10.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.9406, allocations: 34.42 kB / 1.327 GB, free: 10.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.9409, allocations: 0.5491 MB / 1.328 GB, free: 10.31 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.941, allocations: 108.6 kB / 1.328 GB, free: 10.24 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.9411, allocations: 84.08 kB / 1.328 GB, free: 10.22 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.9412, allocations: 321.9 kB / 1.328 GB, free: 9.914 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.9413, allocations: 96.27 kB / 1.328 GB, free: 9.914 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.9417, allocations: 335.3 kB / 1.329 GB, free: 9.664 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.9421, allocations: 323.8 kB / 1.329 GB, free: 9.535 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.9421, allocations: 6.594 kB / 1.329 GB, free: 9.531 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006959/0.9428, allocations: 0.4913 MB / 1.33 GB, free: 9.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.9428, allocations: 7.906 kB / 1.33 GB, free: 9.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.9428, allocations: 3.562 kB / 1.33 GB, free: 9.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002344/0.9431, allocations: 69.98 kB / 1.33 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.9433, allocations: 55.67 kB / 1.33 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.9455, allocations: 3.269 MB / 1.333 GB, free: 6.391 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008053/0.9463, allocations: 106.5 kB / 1.333 GB, free: 6.348 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.9464, allocations: 25.73 kB / 1.333 GB, free: 6.348 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.0002976/0.9467, allocations: 281.9 kB / 1.333 GB, free: 6.223 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/0.947, allocations: 135.9 kB / 1.333 GB, free: 6.152 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.9472, allocations: 127.9 kB / 1.334 GB, free: 6.133 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.9472, allocations: 5.5 kB / 1.334 GB, free: 6.133 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.9472, allocations: 4.75 kB / 1.334 GB, free: 6.133 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.9472, allocations: 6.281 kB / 1.334 GB, free: 6.133 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/0.9499, allocations: 2.517 MB / 1.336 GB, free: 4.633 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.9499, allocations: 5.438 kB / 1.336 GB, free: 4.633 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.9501, allocations: 53.03 kB / 1.336 GB, free: 4.629 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001457/0.9502, allocations: 74.84 kB / 1.336 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.9502, allocations: 12.12 kB / 1.336 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/0.9524, allocations: 3.267 MB / 1.339 GB, free: 1.609 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.9524, allocations: 10.97 kB / 1.339 GB, free: 1.605 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007358/0.9532, allocations: 0.6823 MB / 1.34 GB, free: 1.188 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.9536, allocations: 246.5 kB / 1.34 GB, free: 1.023 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.9537, allocations: 15.11 kB / 1.34 GB, free: 1.023 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/0.9544, allocations: 62.95 kB / 1.34 GB, free: 1.012 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.9544, allocations: 45.77 kB / 1.34 GB, free: 1.004 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.9545, allocations: 13.12 kB / 1.34 GB, free: 1.004 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008367/0.9553, allocations: 0.8807 MB / 1.341 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9553, allocations: 0 / 1.341 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009424/0.9563, allocations: 272 kB / 1.342 GB, free: 0.8789 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.001265/0.9575, allocations: 1.323 MB / 1.343 GB, free: 15.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007461/0.9583, allocations: 0.5298 MB / 1.343 GB, free: 15.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.9583, allocations: 3.562 kB / 1.343 GB, free: 15.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004307/0.9588, allocations: 395.2 kB / 1.344 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/0.9617, allocations: 0.7564 MB / 1.344 GB, free: 15.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.972, allocations: 9.289 MB / 1.354 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/0.9727, allocations: 1.128 MB / 1.355 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008689/0.9735, allocations: 248.5 kB / 1.355 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004049/0.974, allocations: 439.4 kB / 1.355 GB, free: 10.36 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.974, allocations: 0 / 1.355 GB, free: 10.36 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.079/2.053, allocations: 33.71 MB / 1.388 GB, free: 11.99 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003697/2.054, allocations: 299.3 kB / 1.389 GB, free: 11.61 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.344/5.398, allocations: 2.531 kB / 1.389 GB, free: 11.61 MB / 1.045 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > 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