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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00175/0.00175, 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.002392/0.002392, allocations: 197.2 kB / 16.54 MB, free: 6.672 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.00146, allocations: 67.89 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5951/0.5966, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.8552/1.452, allocations: 241.9 MB / 1.254 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01732/1.469, allocations: 13.52 MB / 1.267 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002567/1.472, allocations: 60.75 kB / 1.267 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002725/1.475, allocations: 0.976 MB / 1.268 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004927/1.48, allocations: 1.785 MB / 1.27 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003492/1.483, allocations: 1.227 MB / 1.271 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006271/1.489, allocations: 3.251 MB / 1.274 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00271/1.492, allocations: 1.059 MB / 1.275 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01068/1.503, allocations: 4.113 MB / 1.279 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002528/1.505, allocations: 0.9004 MB / 1.28 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003205/1.506, allocations: 78.66 kB / 1.28 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/1.508, allocations: 0.6993 MB / 1.281 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004427/1.508, allocations: 436 kB / 1.281 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008623/1.509, allocations: 0.6837 MB / 1.282 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002291/1.512, allocations: 1.498 MB / 1.283 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.512, allocations: 1.25 kB / 1.283 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.174e-06/1.512, allocations: 0 / 1.283 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.999e-05/1.512, allocations: 1 kB / 1.283 GB, free: 1.484 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.002453/1.514, allocations: 1.621 MB / 1.285 GB, free: 16.6 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/1.514, allocations: 9.438 kB / 1.285 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/1.514, allocations: 124 kB / 1.285 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007431/1.515, allocations: 199.6 kB / 1.285 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/1.516, allocations: 0.8308 MB / 1.286 GB, free: 16.1 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/1.516, allocations: 128.1 kB / 1.286 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/1.516, allocations: 82.41 kB / 1.286 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/1.518, allocations: 0.9189 MB / 1.287 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/1.518, allocations: 5.469 kB / 1.287 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.814e-05/1.518, allocations: 36.22 kB / 1.287 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/1.518, allocations: 21.97 kB / 1.287 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008305/1.519, allocations: 0.5094 MB / 1.288 GB, free: 15.76 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.004332/1.523, allocations: 4.881 MB / 1.292 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/1.524, allocations: 421.4 kB / 1.293 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/1.524, allocations: 270.3 kB / 1.293 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/1.524, allocations: 100.4 kB / 1.293 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/1.524, allocations: 57.92 kB / 1.293 GB, free: 11.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/1.524, allocations: 0 / 1.293 GB, free: 11.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.00176/1.526, allocations: 0.7799 MB / 1.294 GB, free: 11.46 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/1.526, allocations: 400.3 kB / 1.294 GB, free: 10.99 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/1.527, allocations: 1.269 MB / 1.296 GB, free: 10.84 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/1.527, allocations: 44.02 kB / 1.296 GB, free: 10.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/1.528, allocations: 0.5511 MB / 1.296 GB, free: 10.67 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/1.528, allocations: 113 kB / 1.296 GB, free: 10.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/1.528, allocations: 85.94 kB / 1.296 GB, free: 10.58 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.528, allocations: 315.7 kB / 1.297 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/1.528, allocations: 96.83 kB / 1.297 GB, free: 10.27 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/1.529, allocations: 341.2 kB / 1.297 GB, free: 10.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/1.529, allocations: 328.9 kB / 1.297 GB, free: 9.902 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.529, allocations: 0.875 kB / 1.297 GB, free: 9.902 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00074/1.53, allocations: 494.6 kB / 1.298 GB, free: 9.785 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.53, allocations: 5.875 kB / 1.298 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.53, allocations: 8.844 kB / 1.298 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/1.53, allocations: 73.88 kB / 1.298 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/1.53, allocations: 60.36 kB / 1.298 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/1.533, allocations: 3.256 MB / 1.301 GB, free: 6.789 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008147/1.533, allocations: 96.48 kB / 1.301 GB, free: 6.746 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/1.533, allocations: 21.75 kB / 1.301 GB, free: 6.746 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.00036/1.534, allocations: 281.8 kB / 1.302 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003902/1.534, allocations: 138.5 kB / 1.302 GB, free: 6.555 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/1.534, allocations: 130 kB / 1.302 GB, free: 6.531 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/1.534, allocations: 6.312 kB / 1.302 GB, free: 6.531 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.534, allocations: 11.06 kB / 1.302 GB, free: 6.527 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.534, allocations: 2.531 kB / 1.302 GB, free: 6.527 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/1.537, allocations: 2.516 MB / 1.304 GB, free: 5.039 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.537, allocations: 7.172 kB / 1.304 GB, free: 5.039 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/1.537, allocations: 53.84 kB / 1.304 GB, free: 5.039 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/1.538, allocations: 68.09 kB / 1.304 GB, free: 5.023 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/1.538, allocations: 14.97 kB / 1.304 GB, free: 5.023 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/1.54, allocations: 3.265 MB / 1.308 GB, free: 2.039 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.54, allocations: 8.125 kB / 1.308 GB, free: 2.039 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008157/1.541, allocations: 0.6792 MB / 1.308 GB, free: 1.633 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004135/1.541, allocations: 244.3 kB / 1.308 GB, free: 1.469 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/1.541, allocations: 15.34 kB / 1.308 GB, free: 1.465 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007126/1.542, allocations: 43.95 kB / 1.309 GB, free: 1.465 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/1.542, allocations: 43.16 kB / 1.309 GB, free: 1.457 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/1.542, allocations: 17.75 kB / 1.309 GB, free: 1.457 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009656/1.543, allocations: 0.8786 MB / 1.309 GB, free: 1.348 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.82e-07/1.543, allocations: 2 kB / 1.309 GB, free: 1.348 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009651/1.544, allocations: 262.1 kB / 1.31 GB, free: 1.332 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.001356/1.545, allocations: 1.316 MB / 1.311 GB, free: 400 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000885/1.546, allocations: 0.533 MB / 1.311 GB, free: 152 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.546, allocations: 6.875 kB / 1.312 GB, free: 148 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004922/1.547, allocations: 399 kB / 1.312 GB, free: 15.92 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/1.55, allocations: 0.7581 MB / 1.313 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/1.564, allocations: 9.014 MB / 1.321 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/1.565, allocations: 1.136 MB / 1.323 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001558/1.566, allocations: 245.5 kB / 1.323 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009006/1.567, allocations: 442.5 kB / 1.323 GB, free: 11.25 MB / 1.029 GB Notification: Performance of SimCode: time 1.212e-06/1.567, allocations: 0 / 1.323 GB, free: 11.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08942/1.657, allocations: 33.98 MB / 1.356 GB, free: 2.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/11.89, allocations: 5.875 kB / 1.356 GB, free: 2.016 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