Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_9_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.005755/0.005755, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.0013/0.0013, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.2 MB / 0.6648 GB, free: 124 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 62.73 kB / 0.9504 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2518, allocations: 140.4 MB / 1.088 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.8149/1.067, allocations: 241.9 MB / 1.324 GB, free: 2.602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01329/1.08, allocations: 13.54 MB / 1.337 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/1.082, allocations: 60.41 kB / 1.337 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00196/1.084, allocations: 0.9745 MB / 1.338 GB, free: 2.211 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003592/1.088, allocations: 1.782 MB / 1.34 GB, free: 2.133 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002442/1.09, allocations: 1.242 MB / 1.341 GB, free: 2.102 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003184/1.093, allocations: 3.255 MB / 1.344 GB, free: 2.039 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/1.094, allocations: 1.056 MB / 1.345 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00866/1.103, allocations: 4.131 MB / 1.349 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/1.105, allocations: 0.8885 MB / 1.35 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/1.105, allocations: 80.78 kB / 1.35 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/1.106, allocations: 0.7036 MB / 1.351 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003928/1.107, allocations: 437.7 kB / 1.351 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006439/1.107, allocations: 0.686 MB / 1.352 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/1.109, allocations: 1.521 MB / 1.353 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.109, allocations: 2.625 kB / 1.353 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/1.109, allocations: 4 kB / 1.353 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.35e-05/1.109, allocations: 0 / 1.353 GB, free: 0.5742 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.001814/1.111, allocations: 1.624 MB / 1.355 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/1.111, allocations: 8.094 kB / 1.355 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/1.111, allocations: 130.2 kB / 1.355 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000594/1.111, allocations: 193.4 kB / 1.355 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/1.113, allocations: 0.9045 MB / 1.356 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/1.113, allocations: 124 kB / 1.356 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.155e-05/1.113, allocations: 89.22 kB / 1.356 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/1.114, allocations: 0.9179 MB / 1.357 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/1.114, allocations: 2.531 kB / 1.357 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.199e-05/1.114, allocations: 34.12 kB / 1.357 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/1.114, allocations: 21.31 kB / 1.357 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007213/1.115, allocations: 0.5093 MB / 1.358 GB, free: 14.04 MB / 1.029 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.003953/1.119, allocations: 4.858 MB / 1.363 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005146/1.119, allocations: 420.4 kB / 1.363 GB, free: 9.754 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/1.12, allocations: 266.3 kB / 1.363 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/1.12, allocations: 103.6 kB / 1.363 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/1.12, allocations: 52.44 kB / 1.363 GB, free: 9.441 MB / 1.029 GB Notification: Performance of pre-optimization done (n=31): time 1.744e-06/1.12, allocations: 0 / 1.363 GB, free: 9.441 MB / 1.029 GB Notification: Performance of matching and sorting (n=31): time 0.001584/1.122, allocations: 0.7804 MB / 1.364 GB, free: 9.031 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/1.122, allocations: 401.6 kB / 1.364 GB, free: 8.559 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/1.123, allocations: 1.269 MB / 1.366 GB, free: 8.094 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/1.123, allocations: 39.8 kB / 1.366 GB, free: 8.055 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/1.123, allocations: 0.5513 MB / 1.366 GB, free: 7.613 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.614e-05/1.123, allocations: 108.4 kB / 1.366 GB, free: 7.531 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/1.123, allocations: 83.28 kB / 1.366 GB, free: 7.488 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/1.124, allocations: 318 kB / 1.367 GB, free: 7.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/1.124, allocations: 94.02 kB / 1.367 GB, free: 7.156 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/1.124, allocations: 334.7 kB / 1.367 GB, free: 6.863 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004342/1.125, allocations: 332.5 kB / 1.368 GB, free: 6.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.125, allocations: 2.625 kB / 1.368 GB, free: 6.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006883/1.125, allocations: 0.4901 MB / 1.368 GB, free: 6.457 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.125, allocations: 9.484 kB / 1.368 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.125, allocations: 3.438 kB / 1.368 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/1.126, allocations: 76.81 kB / 1.368 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/1.126, allocations: 53.48 kB / 1.368 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/1.128, allocations: 3.253 MB / 1.371 GB, free: 3.246 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006642/1.128, allocations: 101 kB / 1.371 GB, free: 3.195 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/1.128, allocations: 17.09 kB / 1.371 GB, free: 3.195 MB / 1.029 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.0003079/1.129, allocations: 279.5 kB / 1.372 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003248/1.129, allocations: 139.6 kB / 1.372 GB, free: 2.941 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/1.129, allocations: 131.5 kB / 1.372 GB, free: 2.875 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.129, allocations: 4.812 kB / 1.372 GB, free: 2.875 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.129, allocations: 6.125 kB / 1.372 GB, free: 2.875 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.129, allocations: 5.219 kB / 1.372 GB, free: 2.875 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/1.132, allocations: 2.524 MB / 1.374 GB, free: 1.051 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.132, allocations: 4.531 kB / 1.374 GB, free: 1.051 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/1.132, allocations: 53.44 kB / 1.374 GB, free: 1.047 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001576/1.132, allocations: 71.31 kB / 1.375 GB, free: 1.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/1.132, allocations: 14.75 kB / 1.375 GB, free: 1.012 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/1.134, allocations: 3.258 MB / 1.378 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.134, allocations: 8.031 kB / 1.378 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007142/1.135, allocations: 0.6702 MB / 1.378 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003244/1.135, allocations: 248.2 kB / 1.379 GB, free: 13.15 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/1.135, allocations: 23.84 kB / 1.379 GB, free: 13.14 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006081/1.136, allocations: 37.88 kB / 1.379 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/1.136, allocations: 43.66 kB / 1.379 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/1.136, allocations: 19.44 kB / 1.379 GB, free: 13.12 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009007/1.137, allocations: 0.8756 MB / 1.38 GB, free: 12.79 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.7e-07/1.137, allocations: 4 kB / 1.38 GB, free: 12.78 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008391/1.138, allocations: 257.8 kB / 1.38 GB, free: 12.75 MB / 1.045 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.001342/1.139, allocations: 1.327 MB / 1.381 GB, free: 11.7 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009115/1.14, allocations: 0.5168 MB / 1.382 GB, free: 11.4 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.14, allocations: 6.281 kB / 1.382 GB, free: 11.39 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005078/1.141, allocations: 405.1 kB / 1.382 GB, free: 11.13 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/1.144, allocations: 0.7574 MB / 1.383 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009112/1.153, allocations: 8.201 MB / 1.391 GB, free: 6.887 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/1.153, allocations: 1.135 MB / 1.392 GB, free: 6.145 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0008628/1.154, allocations: 243.1 kB / 1.392 GB, free: 6.094 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/1.155, allocations: 439.7 kB / 1.393 GB, free: 5.77 MB / 1.045 GB Notification: Performance of SimCode: time 9.42e-07/1.155, allocations: 0 / 1.393 GB, free: 5.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5467/1.701, allocations: 34.23 MB / 1.426 GB, free: 12.29 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/14.21, allocations: 2.031 kB / 1.426 GB, free: 12.29 MB / 1.076 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches