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.001189/0.001189, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001306/0.001306, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.645 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.65/2.65, allocations: 437 MB / 0.7099 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.89 kB / 0.8686 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6517/0.653, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2508/0.9039, allocations: 239.7 MB / 1.251 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5059/1.41, allocations: 13.56 MB / 1.264 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/1.412, allocations: 55.53 kB / 1.264 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002302/1.414, allocations: 0.8265 MB / 1.265 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004096/1.418, allocations: 1.696 MB / 1.267 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002751/1.421, allocations: 1.123 MB / 1.268 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005911/1.427, allocations: 4.592 MB / 1.272 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/1.428, allocations: 0.9006 MB / 1.273 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007669/1.436, allocations: 3.841 MB / 1.277 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/1.437, allocations: 0.9593 MB / 1.278 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/1.437, allocations: 54.44 kB / 1.278 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/1.439, allocations: 0.8996 MB / 1.279 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003426/1.439, allocations: 425.1 kB / 1.279 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006548/1.44, allocations: 0.6563 MB / 1.28 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/1.441, allocations: 1.542 MB / 1.281 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/1.441, allocations: 0 / 1.281 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of FrontEnd: time 6.91e-07/1.441, allocations: 3.938 kB / 1.281 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.231e-05/1.441, allocations: 0 / 1.281 GB, free: 1.531 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.00184/1.443, allocations: 1.621 MB / 1.283 GB, free: 16.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/1.443, allocations: 14.44 kB / 1.283 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/1.443, allocations: 128.5 kB / 1.283 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005456/1.444, allocations: 195.4 kB / 1.283 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/1.445, allocations: 0.838 MB / 1.284 GB, free: 16.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/1.445, allocations: 120.8 kB / 1.284 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.005e-05/1.445, allocations: 85.22 kB / 1.284 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/1.446, allocations: 0.9158 MB / 1.285 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/1.446, allocations: 4.281 kB / 1.285 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.899e-05/1.446, allocations: 38.31 kB / 1.285 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/1.446, allocations: 22.5 kB / 1.285 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007442/1.447, allocations: 0.5054 MB / 1.286 GB, free: 15.79 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.003662/1.451, allocations: 4.874 MB / 1.29 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/1.451, allocations: 416.9 kB / 1.291 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/1.451, allocations: 269.2 kB / 1.291 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/1.451, allocations: 98.95 kB / 1.291 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/1.452, allocations: 57.55 kB / 1.291 GB, free: 11.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/1.452, allocations: 1.422 kB / 1.291 GB, free: 11.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001481/1.453, allocations: 0.7756 MB / 1.292 GB, free: 11.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/1.453, allocations: 407.5 kB / 1.292 GB, free: 10.98 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/1.454, allocations: 1.27 MB / 1.294 GB, free: 10.82 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/1.454, allocations: 37.83 kB / 1.294 GB, free: 10.79 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000321/1.455, allocations: 0.5557 MB / 1.294 GB, free: 10.65 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/1.455, allocations: 106.6 kB / 1.294 GB, free: 10.59 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.782e-05/1.455, allocations: 85.03 kB / 1.294 GB, free: 10.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/1.455, allocations: 317.3 kB / 1.295 GB, free: 10.26 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/1.455, allocations: 93.17 kB / 1.295 GB, free: 10.26 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/1.455, allocations: 337.2 kB / 1.295 GB, free: 10.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/1.456, allocations: 335.5 kB / 1.295 GB, free: 9.879 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.456, allocations: 2.594 kB / 1.295 GB, free: 9.879 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006803/1.457, allocations: 0.4902 MB / 1.296 GB, free: 9.754 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/1.457, allocations: 5.094 kB / 1.296 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.457, allocations: 2.938 kB / 1.296 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002243/1.457, allocations: 77.2 kB / 1.296 GB, free: 9.734 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/1.457, allocations: 54.08 kB / 1.296 GB, free: 9.734 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/1.459, allocations: 2.924 MB / 1.299 GB, free: 7.062 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006606/1.46, allocations: 114.6 kB / 1.299 GB, free: 7.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/1.46, allocations: 14.88 kB / 1.299 GB, free: 7.02 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.0002873/1.46, allocations: 274.4 kB / 1.299 GB, free: 6.902 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/1.46, allocations: 143 kB / 1.299 GB, free: 6.832 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/1.46, allocations: 131.8 kB / 1.299 GB, free: 6.809 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.46, allocations: 5.25 kB / 1.299 GB, free: 6.809 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.46, allocations: 5.531 kB / 1.299 GB, free: 6.809 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.46, allocations: 5.797 kB / 1.299 GB, free: 6.809 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/1.463, allocations: 2.519 MB / 1.302 GB, free: 5.309 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/1.463, allocations: 11.16 kB / 1.302 GB, free: 5.305 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/1.463, allocations: 50.77 kB / 1.302 GB, free: 5.305 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001539/1.463, allocations: 73.86 kB / 1.302 GB, free: 5.285 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/1.463, allocations: 16.67 kB / 1.302 GB, free: 5.281 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/1.465, allocations: 2.922 MB / 1.305 GB, free: 2.605 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/1.465, allocations: 10.69 kB / 1.305 GB, free: 2.605 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006834/1.466, allocations: 0.6622 MB / 1.306 GB, free: 2.195 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/1.466, allocations: 251.4 kB / 1.306 GB, free: 2.031 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/1.466, allocations: 14.19 kB / 1.306 GB, free: 2.027 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006278/1.467, allocations: 59.78 kB / 1.306 GB, free: 2.023 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/1.467, allocations: 48.58 kB / 1.306 GB, free: 2.012 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/1.467, allocations: 17.62 kB / 1.306 GB, free: 2.012 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008227/1.468, allocations: 0.8797 MB / 1.307 GB, free: 1.902 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.468, allocations: 0 / 1.307 GB, free: 1.902 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008862/1.469, allocations: 273.8 kB / 1.307 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.001187/1.47, allocations: 1.336 MB / 1.308 GB, free: 0.918 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006953/1.471, allocations: 0.5129 MB / 1.309 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.471, allocations: 1.812 kB / 1.309 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004327/1.471, allocations: 401.8 kB / 1.309 GB, free: 472 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/1.474, allocations: 0.7484 MB / 1.31 GB, free: 404 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009533/1.484, allocations: 9.303 MB / 1.319 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/1.484, allocations: 1.135 MB / 1.32 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006767/1.485, allocations: 250.5 kB / 1.32 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/1.485, allocations: 436.3 kB / 1.321 GB, free: 11.53 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/1.485, allocations: 0 / 1.321 GB, free: 11.53 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1311/1.616, allocations: 33.06 MB / 1.353 GB, free: 2.168 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/1.617, allocations: 296.7 kB / 1.353 GB, free: 1.789 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/4.136, allocations: 0 / 1.353 GB, free: 1.789 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