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.007262/0.007262, allocations: 100.6 kB / 15.73 MB, free: 6.469 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.001787/0.001787, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.623/2.623, allocations: 461.9 MB / 0.7348 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.91 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3243, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 1.016/1.34, allocations: 241.9 MB / 1.444 GB, free: 5.195 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01948/1.359, allocations: 13.53 MB / 1.457 GB, free: 7.633 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002701/1.362, allocations: 63.56 kB / 1.457 GB, free: 7.57 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00315/1.365, allocations: 0.9821 MB / 1.458 GB, free: 6.582 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005678/1.371, allocations: 1.778 MB / 1.459 GB, free: 4.797 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003735/1.375, allocations: 1.247 MB / 1.461 GB, free: 3.566 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005456/1.38, allocations: 3.253 MB / 1.464 GB, free: 312 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/1.382, allocations: 1.063 MB / 1.465 GB, free: 15.22 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01136/1.394, allocations: 4.14 MB / 1.469 GB, free: 11.06 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/1.396, allocations: 0.8905 MB / 1.47 GB, free: 10.17 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004545/1.396, allocations: 87.94 kB / 1.47 GB, free: 10.08 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/1.398, allocations: 0.6975 MB / 1.471 GB, free: 9.383 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007156/1.399, allocations: 438.6 kB / 1.471 GB, free: 8.953 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001525/1.401, allocations: 0.6878 MB / 1.472 GB, free: 8.262 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003086/1.404, allocations: 1.522 MB / 1.473 GB, free: 6.734 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.404, allocations: 0 / 1.473 GB, free: 6.734 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.876e-06/1.404, allocations: 0 / 1.473 GB, free: 6.734 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.652e-05/1.404, allocations: 0 / 1.473 GB, free: 6.734 MB / 1.154 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.003284/1.407, allocations: 1.618 MB / 1.475 GB, free: 5.062 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.407, allocations: 12.62 kB / 1.475 GB, free: 5.051 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/1.407, allocations: 126.7 kB / 1.475 GB, free: 4.918 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008113/1.408, allocations: 202.1 kB / 1.475 GB, free: 4.719 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/1.41, allocations: 0.9011 MB / 1.476 GB, free: 3.762 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/1.41, allocations: 121.4 kB / 1.476 GB, free: 3.633 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/1.41, allocations: 88 kB / 1.476 GB, free: 3.547 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/1.412, allocations: 0.9181 MB / 1.477 GB, free: 2.535 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/1.412, allocations: 3.938 kB / 1.477 GB, free: 2.531 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.332e-05/1.412, allocations: 32 kB / 1.477 GB, free: 2.5 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/1.412, allocations: 21.88 kB / 1.477 GB, free: 2.48 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009329/1.413, allocations: 0.5111 MB / 1.478 GB, free: 1.973 MB / 1.154 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.005619/1.419, allocations: 4.853 MB / 1.482 GB, free: 12.8 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/1.419, allocations: 420.6 kB / 1.483 GB, free: 12.27 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/1.42, allocations: 268 kB / 1.483 GB, free: 11.96 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/1.42, allocations: 101.1 kB / 1.483 GB, free: 11.84 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/1.42, allocations: 58.44 kB / 1.483 GB, free: 11.78 MB / 1.17 GB Notification: Performance of pre-optimization done (n=31): time 2.455e-06/1.42, allocations: 0 / 1.483 GB, free: 11.78 MB / 1.17 GB Notification: Performance of matching and sorting (n=31): time 0.001898/1.422, allocations: 0.7712 MB / 1.484 GB, free: 10.96 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/1.422, allocations: 409.8 kB / 1.484 GB, free: 10.46 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/1.424, allocations: 1.271 MB / 1.486 GB, free: 9.184 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/1.424, allocations: 37.7 kB / 1.486 GB, free: 9.141 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/1.424, allocations: 0.5459 MB / 1.486 GB, free: 8.59 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.535e-05/1.424, allocations: 110.4 kB / 1.486 GB, free: 8.48 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/1.425, allocations: 85.62 kB / 1.486 GB, free: 8.391 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.425, allocations: 321.9 kB / 1.487 GB, free: 8.07 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/1.425, allocations: 98.31 kB / 1.487 GB, free: 7.977 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/1.425, allocations: 332 kB / 1.487 GB, free: 7.559 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/1.426, allocations: 328.6 kB / 1.487 GB, free: 7.191 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.426, allocations: 4 kB / 1.487 GB, free: 7.188 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008969/1.427, allocations: 497.2 kB / 1.488 GB, free: 6.688 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.427, allocations: 8 kB / 1.488 GB, free: 6.68 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.427, allocations: 4 kB / 1.488 GB, free: 6.676 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/1.427, allocations: 77.95 kB / 1.488 GB, free: 6.594 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/1.427, allocations: 55.91 kB / 1.488 GB, free: 6.539 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/1.43, allocations: 3.251 MB / 1.491 GB, free: 3.016 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007839/1.431, allocations: 100.2 kB / 1.491 GB, free: 2.918 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.665e-05/1.431, allocations: 20.06 kB / 1.491 GB, free: 2.898 MB / 1.17 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.0003915/1.431, allocations: 273.7 kB / 1.492 GB, free: 2.621 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004453/1.432, allocations: 134.4 kB / 1.492 GB, free: 2.488 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/1.432, allocations: 124 kB / 1.492 GB, free: 2.359 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/1.432, allocations: 8.188 kB / 1.492 GB, free: 2.352 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.432, allocations: 7.938 kB / 1.492 GB, free: 2.344 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/1.432, allocations: 11.97 kB / 1.492 GB, free: 2.332 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003208/1.435, allocations: 2.527 MB / 1.494 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/1.435, allocations: 8.688 kB / 1.494 GB, free: 15.65 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/1.435, allocations: 47.91 kB / 1.494 GB, free: 15.61 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000191/1.435, allocations: 77.61 kB / 1.494 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/1.435, allocations: 12 kB / 1.494 GB, free: 15.51 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/1.438, allocations: 3.259 MB / 1.498 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/1.438, allocations: 7.938 kB / 1.498 GB, free: 11.97 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008703/1.439, allocations: 0.6767 MB / 1.498 GB, free: 11.2 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004545/1.439, allocations: 251.4 kB / 1.498 GB, free: 10.93 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/1.439, allocations: 16 kB / 1.498 GB, free: 10.92 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006859/1.44, allocations: 39.94 kB / 1.499 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.978e-05/1.44, allocations: 43.78 kB / 1.499 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/1.44, allocations: 20 kB / 1.499 GB, free: 10.82 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001114/1.441, allocations: 0.8802 MB / 1.499 GB, free: 9.938 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.2e-07/1.441, allocations: 0 / 1.499 GB, free: 9.938 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009992/1.442, allocations: 255.7 kB / 1.5 GB, free: 9.688 MB / 1.186 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.001536/1.444, allocations: 1.341 MB / 1.501 GB, free: 8.258 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009767/1.445, allocations: 0.521 MB / 1.502 GB, free: 7.711 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.445, allocations: 4.188 kB / 1.502 GB, free: 7.707 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005495/1.445, allocations: 406.7 kB / 1.502 GB, free: 7.285 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003618/1.449, allocations: 0.7315 MB / 1.503 GB, free: 6.559 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/1.461, allocations: 8.207 MB / 1.511 GB, free: 13.99 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007895/1.462, allocations: 1.134 MB / 1.512 GB, free: 12.82 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008803/1.463, allocations: 246.5 kB / 1.512 GB, free: 12.58 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005228/1.464, allocations: 439.2 kB / 1.512 GB, free: 12.15 MB / 1.201 GB Notification: Performance of SimCode: time 7.81e-07/1.464, allocations: 0 / 1.512 GB, free: 12.15 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07334/1.537, allocations: 34.82 MB / 1.546 GB, free: 9.867 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/13.53, allocations: 4.562 kB / 1.546 GB, free: 9.863 MB / 1.232 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