Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_11_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.005206/0.005206, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001492/0.001492, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.603/2.603, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 59.91 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.271, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.7424/1.013, allocations: 241.9 MB / 1.456 GB, free: 3.496 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01683/1.03, allocations: 13.52 MB / 1.47 GB, free: 5.945 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/1.032, allocations: 59.62 kB / 1.47 GB, free: 5.887 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002183/1.034, allocations: 0.9821 MB / 1.471 GB, free: 4.898 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00386/1.038, allocations: 1.777 MB / 1.472 GB, free: 3.113 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002681/1.041, allocations: 1.248 MB / 1.474 GB, free: 1.883 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003639/1.044, allocations: 3.259 MB / 1.477 GB, free: 14.61 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/1.046, allocations: 1.059 MB / 1.478 GB, free: 13.53 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009435/1.055, allocations: 4.113 MB / 1.482 GB, free: 9.398 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/1.056, allocations: 0.9061 MB / 1.483 GB, free: 8.488 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/1.056, allocations: 76 kB / 1.483 GB, free: 8.414 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/1.058, allocations: 0.6975 MB / 1.483 GB, free: 7.715 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000431/1.058, allocations: 446.5 kB / 1.484 GB, free: 7.277 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007319/1.059, allocations: 0.6839 MB / 1.485 GB, free: 6.59 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/1.061, allocations: 1.529 MB / 1.486 GB, free: 5.055 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/1.061, allocations: 0 / 1.486 GB, free: 5.055 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.243e-06/1.061, allocations: 0 / 1.486 GB, free: 5.055 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.289e-05/1.061, allocations: 0 / 1.486 GB, free: 5.055 MB / 1.17 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.002141/1.063, allocations: 1.671 MB / 1.488 GB, free: 3.332 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/1.063, allocations: 8.031 kB / 1.488 GB, free: 3.324 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/1.063, allocations: 130.7 kB / 1.488 GB, free: 3.188 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000578/1.064, allocations: 203 kB / 1.488 GB, free: 2.988 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/1.065, allocations: 0.9178 MB / 1.489 GB, free: 2.016 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/1.065, allocations: 117.4 kB / 1.489 GB, free: 1.887 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/1.065, allocations: 88 kB / 1.489 GB, free: 1.801 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/1.067, allocations: 0.9181 MB / 1.49 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/1.067, allocations: 4 kB / 1.49 GB, free: 0.793 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/1.067, allocations: 32 kB / 1.49 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/1.067, allocations: 24 kB / 1.49 GB, free: 0.7383 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008494/1.068, allocations: 0.5121 MB / 1.491 GB, free: 228 kB / 1.17 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.004371/1.072, allocations: 4.862 MB / 1.495 GB, free: 11.05 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005633/1.073, allocations: 432.4 kB / 1.496 GB, free: 10.51 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/1.073, allocations: 260.1 kB / 1.496 GB, free: 10.21 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/1.073, allocations: 105 kB / 1.496 GB, free: 10.09 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/1.073, allocations: 54.48 kB / 1.496 GB, free: 10.03 MB / 1.186 GB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/1.073, allocations: 0 / 1.496 GB, free: 10.03 MB / 1.186 GB Notification: Performance of matching and sorting (n=31): time 0.001652/1.075, allocations: 0.7824 MB / 1.497 GB, free: 9.195 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/1.075, allocations: 401.9 kB / 1.497 GB, free: 8.711 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/1.077, allocations: 1.271 MB / 1.499 GB, free: 7.43 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/1.077, allocations: 45.69 kB / 1.499 GB, free: 7.379 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000459/1.077, allocations: 0.546 MB / 1.499 GB, free: 6.828 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/1.077, allocations: 111.1 kB / 1.499 GB, free: 6.719 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/1.077, allocations: 85.64 kB / 1.499 GB, free: 6.629 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.077, allocations: 325.9 kB / 1.5 GB, free: 6.305 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/1.078, allocations: 91.92 kB / 1.5 GB, free: 6.215 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/1.078, allocations: 330.5 kB / 1.5 GB, free: 5.797 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005164/1.079, allocations: 332.5 kB / 1.5 GB, free: 5.426 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.079, allocations: 0 / 1.5 GB, free: 5.426 MB / 1.186 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007918/1.079, allocations: 0.4903 MB / 1.501 GB, free: 4.922 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.079, allocations: 8 kB / 1.501 GB, free: 4.914 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.079, allocations: 352 / 1.501 GB, free: 4.914 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/1.08, allocations: 77.66 kB / 1.501 GB, free: 4.832 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/1.08, allocations: 55.91 kB / 1.501 GB, free: 4.777 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/1.082, allocations: 3.269 MB / 1.504 GB, free: 1.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006258/1.083, allocations: 106.4 kB / 1.504 GB, free: 1.129 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/1.083, allocations: 20 kB / 1.504 GB, free: 1.109 MB / 1.186 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.0003339/1.083, allocations: 269.7 kB / 1.504 GB, free: 0.8359 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/1.084, allocations: 139.1 kB / 1.505 GB, free: 0.6992 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/1.084, allocations: 131.9 kB / 1.505 GB, free: 0.5625 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.084, allocations: 8 kB / 1.505 GB, free: 0.5547 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/1.084, allocations: 7.938 kB / 1.505 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.084, allocations: 8 kB / 1.505 GB, free: 0.5391 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/1.087, allocations: 2.513 MB / 1.507 GB, free: 13.88 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/1.087, allocations: 8 kB / 1.507 GB, free: 13.88 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/1.087, allocations: 51.97 kB / 1.507 GB, free: 13.82 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001705/1.087, allocations: 73.61 kB / 1.507 GB, free: 13.75 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/1.087, allocations: 12 kB / 1.507 GB, free: 13.73 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/1.09, allocations: 3.268 MB / 1.511 GB, free: 10.19 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.09, allocations: 8 kB / 1.511 GB, free: 10.18 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008582/1.09, allocations: 0.6855 MB / 1.511 GB, free: 9.406 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/1.091, allocations: 256.1 kB / 1.511 GB, free: 9.137 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/1.091, allocations: 19.88 kB / 1.511 GB, free: 9.117 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005969/1.092, allocations: 39.95 kB / 1.512 GB, free: 9.078 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/1.092, allocations: 39.84 kB / 1.512 GB, free: 9.039 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/1.092, allocations: 19.98 kB / 1.512 GB, free: 9.02 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001061/1.093, allocations: 0.8802 MB / 1.512 GB, free: 8.141 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/1.093, allocations: 0 / 1.512 GB, free: 8.141 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008498/1.094, allocations: 255.8 kB / 1.513 GB, free: 7.891 MB / 1.201 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.001418/1.095, allocations: 1.34 MB / 1.514 GB, free: 6.465 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008652/1.096, allocations: 0.5203 MB / 1.515 GB, free: 5.918 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.096, allocations: 0 / 1.515 GB, free: 5.918 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005193/1.096, allocations: 406.3 kB / 1.515 GB, free: 5.496 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/1.099, allocations: 0.7547 MB / 1.516 GB, free: 4.75 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009982/1.109, allocations: 8.246 MB / 1.524 GB, free: 12.14 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007254/1.11, allocations: 1.138 MB / 1.525 GB, free: 10.97 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006821/1.111, allocations: 242.5 kB / 1.525 GB, free: 10.73 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/1.111, allocations: 439.3 kB / 1.525 GB, free: 10.3 MB / 1.217 GB Notification: Performance of SimCode: time 6.11e-07/1.111, allocations: 4 kB / 1.525 GB, free: 10.3 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.093/5.204, allocations: 34.23 MB / 1.559 GB, free: 8.613 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.73/30.93, allocations: 9.375 kB / 1.559 GB, free: 8.605 MB / 1.248 GB (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches