Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_10_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.001042/0.001042, allocations: 91.45 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.008499/0.008499, allocations: 172.4 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.306/1.306, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003309, allocations: 8 kB / 0.8729 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6147/0.615, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.8303/1.445, allocations: 236.4 MB / 1.254 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0204/1.466, allocations: 13.44 MB / 1.267 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/1.468, allocations: 53.25 kB / 1.267 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002647/1.471, allocations: 0.8131 MB / 1.268 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004953/1.476, allocations: 1.692 MB / 1.27 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003323/1.479, allocations: 1.124 MB / 1.271 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006543/1.486, allocations: 4.6 MB / 1.275 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/1.487, allocations: 0.89 MB / 1.276 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009739/1.497, allocations: 3.828 MB / 1.28 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/1.499, allocations: 0.9331 MB / 1.281 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/1.499, allocations: 46.66 kB / 1.281 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/1.501, allocations: 0.8883 MB / 1.282 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004157/1.501, allocations: 414 kB / 1.282 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009521/1.502, allocations: 0.6658 MB / 1.283 GB, free: 17.55 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/1.504, allocations: 1.528 MB / 1.284 GB, free: 17.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.504, allocations: 0 / 1.284 GB, free: 17.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.344e-06/1.504, allocations: 4 kB / 1.284 GB, free: 17.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.606e-05/1.504, allocations: 0 / 1.284 GB, free: 17.43 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.002069/1.506, allocations: 1.377 MB / 1.286 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.506, allocations: 10.98 kB / 1.286 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001416/1.506, allocations: 126.6 kB / 1.286 GB, free: 16.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006378/1.507, allocations: 195 kB / 1.286 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/1.508, allocations: 0.8339 MB / 1.287 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/1.508, allocations: 128.8 kB / 1.287 GB, free: 16.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.824e-05/1.508, allocations: 86.25 kB / 1.287 GB, free: 16.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/1.51, allocations: 0.9332 MB / 1.288 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/1.51, allocations: 2.906 kB / 1.288 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.365e-05/1.51, allocations: 33.03 kB / 1.288 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/1.51, allocations: 27.62 kB / 1.288 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008234/1.51, allocations: 0.5196 MB / 1.288 GB, free: 15.73 MB / 0.9981 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.004409/1.515, allocations: 4.882 MB / 1.293 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/1.516, allocations: 427.1 kB / 1.294 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/1.516, allocations: 274.5 kB / 1.294 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/1.516, allocations: 94.77 kB / 1.294 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/1.516, allocations: 56.94 kB / 1.294 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 3.266e-06/1.516, allocations: 0 / 1.294 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001807/1.518, allocations: 0.8103 MB / 1.295 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/1.518, allocations: 397.5 kB / 1.295 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/1.519, allocations: 1.275 MB / 1.296 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/1.52, allocations: 35.17 kB / 1.296 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/1.52, allocations: 0.5574 MB / 1.297 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/1.52, allocations: 107.8 kB / 1.297 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/1.52, allocations: 35.42 kB / 1.297 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.52, allocations: 319.6 kB / 1.297 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/1.52, allocations: 99.58 kB / 1.297 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/1.521, allocations: 343 kB / 1.298 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/1.521, allocations: 335.5 kB / 1.298 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.521, allocations: 3.188 kB / 1.298 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007617/1.522, allocations: 0.5015 MB / 1.299 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/1.522, allocations: 10.62 kB / 1.299 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/1.522, allocations: 2.906 kB / 1.299 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/1.522, allocations: 73.61 kB / 1.299 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/1.523, allocations: 56.19 kB / 1.299 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/1.525, allocations: 2.934 MB / 1.302 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008024/1.526, allocations: 119.6 kB / 1.302 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/1.526, allocations: 21.64 kB / 1.302 GB, free: 6.922 MB / 0.9981 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.000328/1.526, allocations: 280.3 kB / 1.302 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003615/1.526, allocations: 133 kB / 1.302 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/1.526, allocations: 128.7 kB / 1.302 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/1.526, allocations: 5.219 kB / 1.302 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.526, allocations: 6.188 kB / 1.302 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/1.526, allocations: 7.438 kB / 1.302 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/1.53, allocations: 2.529 MB / 1.305 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/1.53, allocations: 7.031 kB / 1.305 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/1.53, allocations: 50.83 kB / 1.305 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001661/1.53, allocations: 74.28 kB / 1.305 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/1.53, allocations: 9.031 kB / 1.305 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/1.532, allocations: 2.934 MB / 1.308 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.532, allocations: 11.94 kB / 1.308 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009089/1.533, allocations: 0.6852 MB / 1.308 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/1.534, allocations: 253.7 kB / 1.309 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/1.534, allocations: 15.91 kB / 1.309 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007389/1.534, allocations: 65.08 kB / 1.309 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.273e-05/1.535, allocations: 48.02 kB / 1.309 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/1.535, allocations: 20.67 kB / 1.309 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00104/1.536, allocations: 0.8729 MB / 1.31 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.412e-06/1.536, allocations: 2.625 kB / 1.31 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001072/1.537, allocations: 272.2 kB / 1.31 GB, free: 1.781 MB / 0.9981 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.001399/1.538, allocations: 1.336 MB / 1.311 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008208/1.539, allocations: 0.522 MB / 1.312 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.539, allocations: 3.125 kB / 1.312 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004819/1.539, allocations: 411.8 kB / 1.312 GB, free: 368 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004481/1.544, allocations: 0.7825 MB / 1.313 GB, free: 296 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/1.555, allocations: 9.339 MB / 1.322 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007271/1.556, allocations: 1.14 MB / 1.323 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008962/1.557, allocations: 245.2 kB / 1.323 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/1.557, allocations: 451.8 kB / 1.324 GB, free: 11.37 MB / 1.014 GB Notification: Performance of SimCode: time 6.42e-07/1.557, allocations: 0 / 1.324 GB, free: 11.37 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0556/1.613, allocations: 35.62 MB / 1.359 GB, free: 13.94 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/1.613, allocations: 300.9 kB / 1.359 GB, free: 13.56 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/4.274, allocations: 2.672 kB / 1.359 GB, free: 13.56 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches