Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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: translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007629/0.007629, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.001234/0.001234, allocations: 201.8 kB / 16.68 MB, free: 5.98 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.797/2.797, allocations: 461.8 MB / 0.7347 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.91 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.416, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.358/1.774, allocations: 304.9 MB / 1.505 GB, free: 5.637 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03908/1.813, allocations: 27.44 MB / 1.532 GB, free: 10.11 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004844/1.818, allocations: 79.56 kB / 1.532 GB, free: 10.04 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00749/1.825, allocations: 2.22 MB / 1.534 GB, free: 7.805 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00962/1.835, allocations: 3.063 MB / 1.537 GB, free: 4.73 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.007226/1.842, allocations: 2.754 MB / 1.54 GB, free: 1.984 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01178/1.854, allocations: 7.257 MB / 1.547 GB, free: 10.72 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003377/1.857, allocations: 1.825 MB / 1.549 GB, free: 8.863 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00549/1.863, allocations: 2.281 MB / 1.551 GB, free: 6.574 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002927/1.866, allocations: 1.344 MB / 1.553 GB, free: 5.234 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003674/1.866, allocations: 216 kB / 1.553 GB, free: 5.023 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007121/1.873, allocations: 3.216 MB / 1.556 GB, free: 1.801 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001031/1.874, allocations: 0.7556 MB / 1.557 GB, free: 1.043 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001827/1.876, allocations: 1.26 MB / 1.558 GB, free: 15.77 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01027/1.886, allocations: 4.927 MB / 1.563 GB, free: 10.84 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.886, allocations: 8 kB / 1.563 GB, free: 10.83 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.104e-06/1.886, allocations: 0 / 1.563 GB, free: 10.83 MB / 1.248 GB Notification: Performance of Transformations before backend: time 5.937e-05/1.886, allocations: 0 / 1.563 GB, free: 10.83 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.005886/1.892, allocations: 2.733 MB / 1.565 GB, free: 8.023 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.892, allocations: 8.625 kB / 1.565 GB, free: 8.016 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004285/1.897, allocations: 0.7231 MB / 1.566 GB, free: 7.289 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00958/1.906, allocations: 5.626 MB / 1.572 GB, free: 1.609 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.776e-05/1.906, allocations: 86.17 kB / 1.572 GB, free: 1.523 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/1.907, allocations: 116 kB / 1.572 GB, free: 1.41 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/1.909, allocations: 1.398 MB / 1.573 GB, free: 15.87 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/1.909, allocations: 7.938 kB / 1.573 GB, free: 15.86 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/1.909, allocations: 44 kB / 1.573 GB, free: 15.82 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.003e-05/1.909, allocations: 50 kB / 1.573 GB, free: 15.77 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/1.911, allocations: 0.9833 MB / 1.574 GB, free: 14.79 MB / 1.264 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.00816/1.919, allocations: 7.649 MB / 1.582 GB, free: 6.723 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008433/1.92, allocations: 375.7 kB / 1.582 GB, free: 6.328 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/1.921, allocations: 116.8 kB / 1.582 GB, free: 6.211 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/1.921, allocations: 190.2 kB / 1.582 GB, free: 5.988 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/1.921, allocations: 42.5 kB / 1.582 GB, free: 5.938 MB / 1.264 GB Notification: Performance of pre-optimization done (n=18): time 1.933e-06/1.921, allocations: 0 / 1.582 GB, free: 5.938 MB / 1.264 GB Notification: Performance of matching and sorting (n=18): time 0.001503/1.923, allocations: 0.528 MB / 1.583 GB, free: 5.402 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/1.923, allocations: 51.41 kB / 1.583 GB, free: 5.34 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/1.925, allocations: 2.284 MB / 1.585 GB, free: 3.035 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/1.925, allocations: 33.7 kB / 1.585 GB, free: 2.996 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007444/1.926, allocations: 0.9745 MB / 1.586 GB, free: 2.008 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/1.926, allocations: 79.08 kB / 1.586 GB, free: 1.93 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003714/1.927, allocations: 282.2 kB / 1.586 GB, free: 1.645 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.927, allocations: 353.9 kB / 1.587 GB, free: 1.293 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008495/1.928, allocations: 460.9 kB / 1.587 GB, free: 0.8398 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/1.929, allocations: 0.8919 MB / 1.588 GB, free: 15.73 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/1.93, allocations: 1.208 MB / 1.589 GB, free: 14.34 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/1.93, allocations: 4 kB / 1.589 GB, free: 14.33 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00261/1.933, allocations: 1.511 MB / 1.591 GB, free: 12.81 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/1.933, allocations: 11.98 kB / 1.591 GB, free: 12.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.933, allocations: 16 kB / 1.591 GB, free: 12.79 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/1.933, allocations: 20 kB / 1.591 GB, free: 12.77 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008313/1.934, allocations: 244 kB / 1.591 GB, free: 12.53 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.63e-05/1.934, allocations: 31.86 kB / 1.591 GB, free: 12.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/1.935, allocations: 214 kB / 1.591 GB, free: 12.29 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.86e-05/1.935, allocations: 51.98 kB / 1.591 GB, free: 12.23 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00145/1.937, allocations: 0.9285 MB / 1.592 GB, free: 11.3 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001033/1.938, allocations: 0.8997 MB / 1.593 GB, free: 10.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001496/1.939, allocations: 1.186 MB / 1.594 GB, free: 8.812 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.093e-06/1.939, allocations: 5.328 kB / 1.594 GB, free: 8.809 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002542/1.942, allocations: 1.493 MB / 1.596 GB, free: 7.305 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/1.942, allocations: 8 kB / 1.596 GB, free: 7.297 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/1.942, allocations: 16 kB / 1.596 GB, free: 7.281 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/1.942, allocations: 20 kB / 1.596 GB, free: 7.262 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008028/1.943, allocations: 243.8 kB / 1.596 GB, free: 7.023 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.06e-05/1.943, allocations: 31.86 kB / 1.596 GB, free: 6.992 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.944, allocations: 135.2 kB / 1.596 GB, free: 6.859 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/1.944, allocations: 52 kB / 1.596 GB, free: 6.809 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003445/1.945, allocations: 239.8 kB / 1.596 GB, free: 6.566 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/1.945, allocations: 197.5 kB / 1.597 GB, free: 6.371 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/1.945, allocations: 175.9 kB / 1.597 GB, free: 6.195 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.945, allocations: 7.984 kB / 1.597 GB, free: 6.188 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.945, allocations: 4 kB / 1.597 GB, free: 6.184 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.945, allocations: 3.938 kB / 1.597 GB, free: 6.18 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/1.949, allocations: 1.866 MB / 1.599 GB, free: 4.199 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/1.949, allocations: 4 kB / 1.599 GB, free: 4.195 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/1.949, allocations: 51.89 kB / 1.599 GB, free: 4.145 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/1.949, allocations: 8 kB / 1.599 GB, free: 4.137 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/1.949, allocations: 8 kB / 1.599 GB, free: 4.129 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.148e-06/1.949, allocations: 7.984 kB / 1.599 GB, free: 4.121 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/1.949, allocations: 19.81 kB / 1.599 GB, free: 4.102 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009922/1.95, allocations: 0.5649 MB / 1.599 GB, free: 3.465 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/1.951, allocations: 326.4 kB / 1.6 GB, free: 3.125 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/1.951, allocations: 11.98 kB / 1.6 GB, free: 3.113 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007189/1.952, allocations: 51.95 kB / 1.6 GB, free: 3.062 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/1.952, allocations: 23.86 kB / 1.6 GB, free: 3.039 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/1.952, allocations: 8 kB / 1.6 GB, free: 3.031 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00234/1.954, allocations: 1.551 MB / 1.601 GB, free: 1.469 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.032e-06/1.954, allocations: 0 / 1.601 GB, free: 1.469 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003019/1.957, allocations: 0.8269 MB / 1.602 GB, free: 0.6406 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/1.958, allocations: 432.6 kB / 1.602 GB, free: 216 kB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002872/1.961, allocations: 1.449 MB / 1.604 GB, free: 14.77 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.961, allocations: 0 / 1.604 GB, free: 14.77 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003333/1.961, allocations: 129.5 kB / 1.604 GB, free: 14.64 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004364/1.966, allocations: 1.072 MB / 1.605 GB, free: 13.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004667/1.97, allocations: 2.994 MB / 1.608 GB, free: 10.52 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/1.971, allocations: 1.477 MB / 1.609 GB, free: 9.004 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001503/1.973, allocations: 464.9 kB / 1.61 GB, free: 8.547 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/1.973, allocations: 127.4 kB / 1.61 GB, free: 8.422 MB / 1.295 GB Notification: Performance of SimCode: time 6.01e-07/1.973, allocations: 0 / 1.61 GB, free: 8.422 MB / 1.295 GB Notification: Performance of Templates: time 0.06264/2.036, allocations: 36.6 MB / 1.646 GB, free: 4.207 MB / 1.326 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches