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.001164/0.001164, allocations: 108 kB / 15.6 MB, free: 132 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.00117/0.00117, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.657/2.657, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 63.7 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3442, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.9171/1.261, allocations: 241.9 MB / 1.289 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01748/1.279, allocations: 13.53 MB / 1.302 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002726/1.282, allocations: 60.31 kB / 1.302 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002774/1.284, allocations: 0.9731 MB / 1.303 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004685/1.289, allocations: 1.786 MB / 1.305 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003232/1.292, allocations: 1.222 MB / 1.306 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004399/1.297, allocations: 3.263 MB / 1.309 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/1.298, allocations: 1.057 MB / 1.311 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01004/1.308, allocations: 4.103 MB / 1.315 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001949/1.31, allocations: 0.9001 MB / 1.315 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002092/1.311, allocations: 78.44 kB / 1.315 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/1.312, allocations: 0.6992 MB / 1.316 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004794/1.313, allocations: 441.5 kB / 1.317 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009663/1.314, allocations: 0.6836 MB / 1.317 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002047/1.316, allocations: 1.496 MB / 1.319 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.316, allocations: 0 / 1.319 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.284e-06/1.316, allocations: 1.406 kB / 1.319 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.425e-05/1.316, allocations: 3.188 kB / 1.319 GB, free: 1.219 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.002544/1.319, allocations: 1.62 MB / 1.32 GB, free: 16.33 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/1.319, allocations: 8.219 kB / 1.32 GB, free: 16.33 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/1.319, allocations: 131.4 kB / 1.32 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007747/1.32, allocations: 196.7 kB / 1.321 GB, free: 16.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/1.321, allocations: 0.8328 MB / 1.321 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/1.321, allocations: 127 kB / 1.322 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.994e-05/1.321, allocations: 83.97 kB / 1.322 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/1.323, allocations: 0.917 MB / 1.323 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/1.323, allocations: 4.094 kB / 1.323 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/1.323, allocations: 35.53 kB / 1.323 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/1.323, allocations: 20.28 kB / 1.323 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007763/1.323, allocations: 0.5093 MB / 1.323 GB, free: 15.49 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.00495/1.328, allocations: 4.885 MB / 1.328 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/1.329, allocations: 424 kB / 1.328 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/1.329, allocations: 261.5 kB / 1.328 GB, free: 11.58 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/1.33, allocations: 104.9 kB / 1.329 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/1.33, allocations: 55.28 kB / 1.329 GB, free: 11.44 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.394e-06/1.33, allocations: 2.531 kB / 1.329 GB, free: 11.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001803/1.331, allocations: 0.7743 MB / 1.329 GB, free: 11.12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001995/1.332, allocations: 406.4 kB / 1.33 GB, free: 10.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/1.333, allocations: 1.269 MB / 1.331 GB, free: 10.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.047e-05/1.333, allocations: 37.61 kB / 1.331 GB, free: 10.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/1.333, allocations: 0.5531 MB / 1.332 GB, free: 10.33 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.719e-05/1.334, allocations: 108.7 kB / 1.332 GB, free: 10.26 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/1.334, allocations: 85.25 kB / 1.332 GB, free: 10.24 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.334, allocations: 323.3 kB / 1.332 GB, free: 9.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/1.334, allocations: 91.38 kB / 1.332 GB, free: 9.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/1.334, allocations: 339.3 kB / 1.333 GB, free: 9.676 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/1.335, allocations: 337.4 kB / 1.333 GB, free: 9.543 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.335, allocations: 0 / 1.333 GB, free: 9.543 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007766/1.336, allocations: 498.3 kB / 1.333 GB, free: 9.422 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.336, allocations: 8.531 kB / 1.333 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.336, allocations: 3.125 kB / 1.333 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002724/1.336, allocations: 75.84 kB / 1.333 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/1.336, allocations: 60.38 kB / 1.333 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/1.339, allocations: 3.255 MB / 1.337 GB, free: 6.406 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008337/1.34, allocations: 93.25 kB / 1.337 GB, free: 6.367 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/1.34, allocations: 19.08 kB / 1.337 GB, free: 6.367 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.0003497/1.34, allocations: 280.4 kB / 1.337 GB, free: 6.246 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/1.34, allocations: 141.1 kB / 1.337 GB, free: 6.172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/1.341, allocations: 129.3 kB / 1.337 GB, free: 6.152 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.341, allocations: 4.719 kB / 1.337 GB, free: 6.152 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.341, allocations: 7.156 kB / 1.337 GB, free: 6.152 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.341, allocations: 5.422 kB / 1.337 GB, free: 6.152 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/1.344, allocations: 2.52 MB / 1.34 GB, free: 4.648 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.344, allocations: 4.719 kB / 1.34 GB, free: 4.648 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/1.344, allocations: 51.95 kB / 1.34 GB, free: 4.648 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001683/1.344, allocations: 78 kB / 1.34 GB, free: 4.625 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/1.344, allocations: 11.88 kB / 1.34 GB, free: 4.625 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/1.346, allocations: 3.268 MB / 1.343 GB, free: 1.621 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.346, allocations: 11.92 kB / 1.343 GB, free: 1.621 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/1.347, allocations: 0.6682 MB / 1.344 GB, free: 1.211 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/1.347, allocations: 248.6 kB / 1.344 GB, free: 1.043 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/1.347, allocations: 21.05 kB / 1.344 GB, free: 1.035 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006573/1.348, allocations: 39.09 kB / 1.344 GB, free: 1.035 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/1.348, allocations: 48.08 kB / 1.344 GB, free: 1.027 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/1.348, allocations: 20.94 kB / 1.344 GB, free: 1.023 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009601/1.349, allocations: 0.8752 MB / 1.345 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.349, allocations: 0 / 1.345 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009635/1.35, allocations: 260.5 kB / 1.345 GB, free: 0.8945 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.001406/1.352, allocations: 1.315 MB / 1.346 GB, free: 15.94 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009064/1.352, allocations: 0.5312 MB / 1.347 GB, free: 15.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.353, allocations: 4.75 kB / 1.347 GB, free: 15.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004812/1.353, allocations: 404.4 kB / 1.347 GB, free: 15.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00327/1.356, allocations: 0.7537 MB / 1.348 GB, free: 15.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.367, allocations: 9.004 MB / 1.357 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/1.368, allocations: 1.134 MB / 1.358 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00103/1.369, allocations: 251 kB / 1.358 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/1.369, allocations: 441.8 kB / 1.359 GB, free: 10.7 MB / 1.029 GB Notification: Performance of SimCode: time 7.92e-07/1.369, allocations: 4 kB / 1.359 GB, free: 10.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07233/1.441, allocations: 33.97 MB / 1.392 GB, free: 10.56 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.872/11.31, allocations: 448 / 1.392 GB, free: 10.56 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