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.001492/0.001492, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001766/0.001766, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.319/1.319, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.521/2.521, allocations: 461.9 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 69.66 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2273, allocations: 157.4 MB / 1.052 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6806/0.9079, allocations: 239.7 MB / 1.286 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.9227, allocations: 13.58 MB / 1.3 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.9245, allocations: 56.12 kB / 1.3 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.9264, allocations: 0.8311 MB / 1.3 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003264/0.9298, allocations: 1.686 MB / 1.302 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.9323, allocations: 1.12 MB / 1.303 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004307/0.9366, allocations: 4.605 MB / 1.308 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.9378, allocations: 0.9078 MB / 1.309 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009141/0.947, allocations: 3.829 MB / 1.312 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.9489, allocations: 0.963 MB / 1.313 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.9491, allocations: 54.94 kB / 1.313 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/0.9516, allocations: 0.9008 MB / 1.314 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000561/0.9522, allocations: 421.8 kB / 1.315 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008408/0.9531, allocations: 0.6531 MB / 1.315 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.9546, allocations: 1.546 MB / 1.317 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9546, allocations: 0 / 1.317 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9546, allocations: 0 / 1.317 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.9547, allocations: 0 / 1.317 GB, free: 0.6562 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.002568/0.9572, allocations: 1.623 MB / 1.318 GB, free: 15.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.9573, allocations: 13.97 kB / 1.318 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001643/0.9575, allocations: 130.5 kB / 1.318 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000916/0.9584, allocations: 199.2 kB / 1.319 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.96, allocations: 0.8299 MB / 1.319 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.9601, allocations: 119 kB / 1.32 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.9603, allocations: 92.28 kB / 1.32 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.962, allocations: 0.9157 MB / 1.321 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.9621, allocations: 6.156 kB / 1.321 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.241e-05/0.9622, allocations: 40.7 kB / 1.321 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.9622, allocations: 19.97 kB / 1.321 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.9634, allocations: 0.5063 MB / 1.321 GB, free: 14.9 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.005554/0.969, allocations: 4.877 MB / 1.326 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005753/0.9696, allocations: 411.8 kB / 1.326 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.97, allocations: 266.8 kB / 1.326 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001646/0.9701, allocations: 103.8 kB / 1.327 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.9702, allocations: 55.31 kB / 1.327 GB, free: 10.85 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.915e-06/0.9702, allocations: 0 / 1.327 GB, free: 10.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001672/0.9719, allocations: 0.7805 MB / 1.327 GB, free: 10.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001941/0.9721, allocations: 399.7 kB / 1.328 GB, free: 10.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.9732, allocations: 1.279 MB / 1.329 GB, free: 9.902 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.9733, allocations: 34.67 kB / 1.329 GB, free: 9.871 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.9736, allocations: 0.5495 MB / 1.33 GB, free: 9.742 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.7e-05/0.9737, allocations: 109.3 kB / 1.33 GB, free: 9.672 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.9738, allocations: 82.61 kB / 1.33 GB, free: 9.652 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.9739, allocations: 318.9 kB / 1.33 GB, free: 9.348 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.9741, allocations: 97.39 kB / 1.33 GB, free: 9.344 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.9744, allocations: 343 kB / 1.33 GB, free: 9.086 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.975, allocations: 328.3 kB / 1.331 GB, free: 8.957 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.975, allocations: 0 / 1.331 GB, free: 8.957 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001078/0.9761, allocations: 0.4949 MB / 1.331 GB, free: 8.832 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.9761, allocations: 7.688 kB / 1.331 GB, free: 8.832 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.9761, allocations: 3.406 kB / 1.331 GB, free: 8.832 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003241/0.9764, allocations: 69.69 kB / 1.331 GB, free: 8.816 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.9768, allocations: 57.38 kB / 1.331 GB, free: 8.812 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/0.9798, allocations: 2.918 MB / 1.334 GB, free: 6.129 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.981, allocations: 115 kB / 1.334 GB, free: 6.086 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.981, allocations: 16.97 kB / 1.334 GB, free: 6.086 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.0004743/0.9815, allocations: 279.1 kB / 1.335 GB, free: 5.965 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000539/0.982, allocations: 138.9 kB / 1.335 GB, free: 5.895 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.9822, allocations: 126.8 kB / 1.335 GB, free: 5.871 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.9823, allocations: 8 kB / 1.335 GB, free: 5.871 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.9823, allocations: 2.781 kB / 1.335 GB, free: 5.871 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.9823, allocations: 7.547 kB / 1.335 GB, free: 5.871 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004329/0.9866, allocations: 2.519 MB / 1.337 GB, free: 4.371 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.9867, allocations: 5.5 kB / 1.337 GB, free: 4.371 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.9869, allocations: 51.84 kB / 1.337 GB, free: 4.371 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002583/0.9872, allocations: 75.83 kB / 1.338 GB, free: 4.352 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.9872, allocations: 21.22 kB / 1.338 GB, free: 4.344 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002939/0.9902, allocations: 2.918 MB / 1.34 GB, free: 1.672 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.9902, allocations: 7.781 kB / 1.34 GB, free: 1.672 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.9913, allocations: 0.6731 MB / 1.341 GB, free: 1.258 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004712/0.9918, allocations: 250.1 kB / 1.341 GB, free: 1.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.992, allocations: 19.17 kB / 1.341 GB, free: 1.086 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.993, allocations: 61.42 kB / 1.341 GB, free: 1.078 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/0.9931, allocations: 42.7 kB / 1.341 GB, free: 1.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.9932, allocations: 15.77 kB / 1.341 GB, free: 1.07 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001211/0.9944, allocations: 0.8828 MB / 1.342 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9944, allocations: 0 / 1.342 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001026/0.9954, allocations: 267.5 kB / 1.343 GB, free: 0.9492 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.001292/0.9967, allocations: 1.324 MB / 1.344 GB, free: 15.99 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008123/0.9976, allocations: 0.5141 MB / 1.344 GB, free: 15.76 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.9976, allocations: 2.594 kB / 1.344 GB, free: 15.76 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.9981, allocations: 403.1 kB / 1.345 GB, free: 15.53 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/1.001, allocations: 0.755 MB / 1.345 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/1.012, allocations: 9.301 MB / 1.355 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/1.013, allocations: 1.134 MB / 1.356 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008568/1.014, allocations: 242.2 kB / 1.356 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004551/1.014, allocations: 439.9 kB / 1.356 GB, free: 10.5 MB / 1.029 GB Notification: Performance of SimCode: time 5.82e-07/1.014, allocations: 0 / 1.356 GB, free: 10.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05068/1.065, allocations: 33.08 MB / 1.389 GB, free: 10.44 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/1.065, allocations: 308.6 kB / 1.389 GB, free: 10.05 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/3.524, allocations: 0 / 1.389 GB, free: 10.05 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