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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007745/0.007745, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.274/1.274, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.523/2.523, allocations: 462.6 MB / 0.7364 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003318, allocations: 8.5 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2797, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.7027/0.9824, allocations: 236.5 MB / 1.29 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01572/0.9982, allocations: 13.44 MB / 1.303 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.9995, allocations: 49.78 kB / 1.303 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002176/1.002, allocations: 0.8225 MB / 1.304 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003672/1.005, allocations: 1.691 MB / 1.305 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002676/1.008, allocations: 1.125 MB / 1.306 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004504/1.013, allocations: 4.599 MB / 1.311 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/1.014, allocations: 0.8916 MB / 1.312 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008306/1.022, allocations: 3.821 MB / 1.315 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/1.023, allocations: 0.9353 MB / 1.316 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/1.024, allocations: 47.09 kB / 1.316 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/1.025, allocations: 0.8933 MB / 1.317 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003628/1.026, allocations: 406.8 kB / 1.318 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007998/1.026, allocations: 0.6685 MB / 1.318 GB, free: 17.66 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/1.028, allocations: 1.525 MB / 1.32 GB, free: 17.54 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/1.028, allocations: 0.9375 kB / 1.32 GB, free: 17.54 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.944e-06/1.028, allocations: 0 / 1.32 GB, free: 17.54 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.427e-05/1.028, allocations: 0 / 1.32 GB, free: 17.54 MB / 1.014 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.001767/1.03, allocations: 1.376 MB / 1.321 GB, free: 16.71 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.03, allocations: 14.16 kB / 1.321 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/1.03, allocations: 129.5 kB / 1.321 GB, free: 16.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005877/1.03, allocations: 200.9 kB / 1.322 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/1.031, allocations: 0.8351 MB / 1.322 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/1.032, allocations: 124.8 kB / 1.322 GB, free: 16.13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/1.032, allocations: 88.03 kB / 1.323 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/1.033, allocations: 0.9298 MB / 1.323 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/1.033, allocations: 8 kB / 1.323 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-05/1.033, allocations: 31.75 kB / 1.323 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/1.033, allocations: 20.62 kB / 1.324 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008645/1.034, allocations: 0.5133 MB / 1.324 GB, free: 15.84 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.004074/1.038, allocations: 4.895 MB / 1.329 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/1.039, allocations: 424.2 kB / 1.329 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/1.039, allocations: 276.9 kB / 1.329 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/1.039, allocations: 102.6 kB / 1.33 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/1.039, allocations: 55.67 kB / 1.33 GB, free: 11.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/1.039, allocations: 0 / 1.33 GB, free: 11.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001628/1.041, allocations: 0.8115 MB / 1.33 GB, free: 11.46 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/1.041, allocations: 397.8 kB / 1.331 GB, free: 10.99 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/1.042, allocations: 1.27 MB / 1.332 GB, free: 10.83 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/1.042, allocations: 39.48 kB / 1.332 GB, free: 10.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/1.042, allocations: 0.5505 MB / 1.333 GB, free: 10.67 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/1.043, allocations: 110.1 kB / 1.333 GB, free: 10.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/1.043, allocations: 30.62 kB / 1.333 GB, free: 10.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.997e-05/1.043, allocations: 316 kB / 1.333 GB, free: 10.28 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/1.043, allocations: 95.62 kB / 1.333 GB, free: 10.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/1.043, allocations: 349.8 kB / 1.333 GB, free: 10.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004273/1.044, allocations: 330.4 kB / 1.334 GB, free: 9.898 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.044, allocations: 3.094 kB / 1.334 GB, free: 9.898 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000707/1.044, allocations: 0.5035 MB / 1.334 GB, free: 9.773 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/1.044, allocations: 5.5 kB / 1.334 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.044, allocations: 7.688 kB / 1.334 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/1.045, allocations: 69.66 kB / 1.334 GB, free: 9.758 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/1.045, allocations: 59.69 kB / 1.334 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/1.047, allocations: 2.932 MB / 1.337 GB, free: 7.078 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/1.048, allocations: 122.7 kB / 1.337 GB, free: 7.031 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/1.049, allocations: 22.72 kB / 1.337 GB, free: 7.027 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.0005099/1.049, allocations: 277.3 kB / 1.338 GB, free: 6.914 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004042/1.049, allocations: 133 kB / 1.338 GB, free: 6.848 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/1.05, allocations: 132.4 kB / 1.338 GB, free: 6.824 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/1.05, allocations: 10.02 kB / 1.338 GB, free: 6.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.05, allocations: 2.906 kB / 1.338 GB, free: 6.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/1.05, allocations: 8.531 kB / 1.338 GB, free: 6.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/1.053, allocations: 2.53 MB / 1.34 GB, free: 5.312 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.053, allocations: 6.312 kB / 1.34 GB, free: 5.312 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/1.053, allocations: 55.53 kB / 1.34 GB, free: 5.312 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001765/1.053, allocations: 68.33 kB / 1.341 GB, free: 5.297 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/1.053, allocations: 16.28 kB / 1.341 GB, free: 5.293 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/1.055, allocations: 2.929 MB / 1.343 GB, free: 2.617 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.055, allocations: 5.938 kB / 1.343 GB, free: 2.617 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/1.056, allocations: 0.6894 MB / 1.344 GB, free: 2.195 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/1.056, allocations: 252.8 kB / 1.344 GB, free: 2.027 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/1.056, allocations: 19.56 kB / 1.344 GB, free: 2.023 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/1.057, allocations: 75.42 kB / 1.344 GB, free: 2.012 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/1.057, allocations: 42.61 kB / 1.344 GB, free: 2.004 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/1.057, allocations: 15.31 kB / 1.344 GB, free: 2.004 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008892/1.058, allocations: 0.88 MB / 1.345 GB, free: 1.895 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.058, allocations: 0 / 1.345 GB, free: 1.895 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009735/1.059, allocations: 267.8 kB / 1.346 GB, free: 1.883 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.001397/1.06, allocations: 1.32 MB / 1.347 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008926/1.061, allocations: 0.5248 MB / 1.347 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.061, allocations: 3.594 kB / 1.347 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005229/1.062, allocations: 417 kB / 1.348 GB, free: 476 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004395/1.066, allocations: 0.7914 MB / 1.349 GB, free: 404 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.078, allocations: 9.334 MB / 1.358 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/1.078, allocations: 1.141 MB / 1.359 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000924/1.079, allocations: 246.1 kB / 1.359 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/1.08, allocations: 453.7 kB / 1.359 GB, free: 11.43 MB / 1.029 GB Notification: Performance of SimCode: time 5e-07/1.08, allocations: 0 / 1.359 GB, free: 11.43 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05695/1.137, allocations: 35.62 MB / 1.394 GB, free: 9.98 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/1.137, allocations: 302.3 kB / 1.395 GB, free: 9.598 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.625, allocations: 2.812 kB / 1.395 GB, free: 9.598 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