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.001567/0.001571, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.746/2.746, allocations: 469.4 MB / 0.742 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 66.91 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2667, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.7787/1.045, allocations: 241.9 MB / 1.3 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01528/1.061, allocations: 13.52 MB / 1.313 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00264/1.063, allocations: 60.62 kB / 1.313 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002604/1.066, allocations: 0.9745 MB / 1.314 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004875/1.071, allocations: 1.785 MB / 1.316 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003147/1.074, allocations: 1.224 MB / 1.317 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004541/1.079, allocations: 3.261 MB / 1.32 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/1.08, allocations: 1.053 MB / 1.321 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009131/1.09, allocations: 4.113 MB / 1.325 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/1.091, allocations: 0.9006 MB / 1.326 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001909/1.091, allocations: 79.94 kB / 1.326 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/1.093, allocations: 0.6956 MB / 1.327 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004145/1.094, allocations: 439.2 kB / 1.327 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007616/1.094, allocations: 0.6829 MB / 1.328 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/1.096, allocations: 1.493 MB / 1.329 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/1.096, allocations: 3.938 kB / 1.329 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/1.096, allocations: 0 / 1.329 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.954e-05/1.096, allocations: 1.5 kB / 1.329 GB, free: 2.922 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.002232/1.098, allocations: 1.625 MB / 1.331 GB, free: 18.03 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.098, allocations: 10.62 kB / 1.331 GB, free: 18.03 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001295/1.098, allocations: 126.9 kB / 1.331 GB, free: 17.99 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006296/1.099, allocations: 199.5 kB / 1.331 GB, free: 17.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/1.1, allocations: 0.8286 MB / 1.332 GB, free: 17.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/1.1, allocations: 126.4 kB / 1.332 GB, free: 17.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.054e-05/1.1, allocations: 84.06 kB / 1.332 GB, free: 17.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/1.102, allocations: 0.9204 MB / 1.333 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/1.102, allocations: 5.375 kB / 1.333 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/1.102, allocations: 35.97 kB / 1.333 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/1.102, allocations: 22.03 kB / 1.333 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008379/1.103, allocations: 0.507 MB / 1.334 GB, free: 17.16 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.004361/1.107, allocations: 4.887 MB / 1.339 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/1.108, allocations: 415.1 kB / 1.339 GB, free: 13.37 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/1.108, allocations: 269.2 kB / 1.339 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/1.108, allocations: 98.62 kB / 1.339 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/1.108, allocations: 53.91 kB / 1.339 GB, free: 13.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/1.108, allocations: 0 / 1.339 GB, free: 13.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001664/1.11, allocations: 0.7918 MB / 1.34 GB, free: 12.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002112/1.11, allocations: 398.7 kB / 1.341 GB, free: 12.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/1.111, allocations: 1.273 MB / 1.342 GB, free: 12.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/1.111, allocations: 38.64 kB / 1.342 GB, free: 12.13 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/1.112, allocations: 0.5471 MB / 1.342 GB, free: 12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.997e-05/1.112, allocations: 109.1 kB / 1.342 GB, free: 11.93 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/1.112, allocations: 85.84 kB / 1.343 GB, free: 11.91 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.112, allocations: 318.5 kB / 1.343 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/1.112, allocations: 92.64 kB / 1.343 GB, free: 11.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/1.113, allocations: 336.7 kB / 1.343 GB, free: 11.35 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/1.113, allocations: 335.3 kB / 1.344 GB, free: 11.22 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.113, allocations: 3.219 kB / 1.344 GB, free: 11.22 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007594/1.114, allocations: 499.1 kB / 1.344 GB, free: 11.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.114, allocations: 5.5 kB / 1.344 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.114, allocations: 2.625 kB / 1.344 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000378/1.114, allocations: 72.92 kB / 1.344 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/1.114, allocations: 55.91 kB / 1.344 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/1.117, allocations: 3.265 MB / 1.347 GB, free: 8.078 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007527/1.118, allocations: 99.27 kB / 1.347 GB, free: 8.035 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/1.118, allocations: 21.81 kB / 1.348 GB, free: 8.035 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.0003213/1.118, allocations: 268.9 kB / 1.348 GB, free: 7.922 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/1.119, allocations: 139 kB / 1.348 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/1.119, allocations: 129.1 kB / 1.348 GB, free: 7.832 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/1.119, allocations: 9.219 kB / 1.348 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/1.119, allocations: 6.375 kB / 1.348 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/1.119, allocations: 11.72 kB / 1.348 GB, free: 7.824 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/1.122, allocations: 2.507 MB / 1.351 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/1.122, allocations: 4.469 kB / 1.351 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/1.122, allocations: 56.86 kB / 1.351 GB, free: 6.324 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/1.122, allocations: 75.86 kB / 1.351 GB, free: 6.301 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/1.122, allocations: 16.97 kB / 1.351 GB, free: 6.297 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002622/1.125, allocations: 3.266 MB / 1.354 GB, free: 3.301 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.125, allocations: 7.25 kB / 1.354 GB, free: 3.301 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008023/1.126, allocations: 0.6743 MB / 1.355 GB, free: 2.887 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/1.126, allocations: 245.6 kB / 1.355 GB, free: 2.723 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/1.126, allocations: 11.5 kB / 1.355 GB, free: 2.723 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006661/1.127, allocations: 49.47 kB / 1.355 GB, free: 2.715 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/1.127, allocations: 38.08 kB / 1.355 GB, free: 2.711 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/1.127, allocations: 18.69 kB / 1.355 GB, free: 2.711 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001082/1.128, allocations: 0.8807 MB / 1.356 GB, free: 2.598 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.128, allocations: 0 / 1.356 GB, free: 2.598 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008945/1.129, allocations: 261.7 kB / 1.356 GB, free: 2.582 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.00138/1.13, allocations: 1.328 MB / 1.357 GB, free: 1.613 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008898/1.131, allocations: 0.524 MB / 1.358 GB, free: 1.379 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.131, allocations: 2.531 kB / 1.358 GB, free: 1.379 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005171/1.132, allocations: 398.4 kB / 1.358 GB, free: 1.156 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/1.135, allocations: 0.7539 MB / 1.359 GB, free: 1.02 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/1.145, allocations: 9.016 MB / 1.368 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007632/1.146, allocations: 1.137 MB / 1.369 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001049/1.147, allocations: 248 kB / 1.369 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004411/1.148, allocations: 439.5 kB / 1.369 GB, free: 12.11 MB / 1.029 GB Notification: Performance of SimCode: time 1.012e-06/1.148, allocations: 3.938 kB / 1.369 GB, free: 12.1 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06835/1.216, allocations: 33.97 MB / 1.403 GB, free: 9.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.62, allocations: 11.62 kB / 1.403 GB, free: 9.066 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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