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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: 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.001534/0.001534, 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.001884/0.001885, allocations: 194.7 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.501/1.501, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.982/2.982, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 73.8 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4489, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.148/1.597, allocations: 304.9 MB / 1.366 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03982/1.637, allocations: 27.45 MB / 1.393 GB, free: 5.746 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005748/1.643, allocations: 81.72 kB / 1.393 GB, free: 5.746 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01235/1.655, allocations: 4.707 MB / 1.397 GB, free: 4.523 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01175/1.667, allocations: 2.916 MB / 1.4 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.009446/1.676, allocations: 2.625 MB / 1.403 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01654/1.693, allocations: 7.135 MB / 1.41 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004754/1.698, allocations: 1.796 MB / 1.412 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007197/1.705, allocations: 2.22 MB / 1.414 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003991/1.709, allocations: 1.3 MB / 1.415 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001029/1.71, allocations: 207.6 kB / 1.415 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00963/1.719, allocations: 3.199 MB / 1.418 GB, free: 8.453 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001555/1.721, allocations: 0.7506 MB / 1.419 GB, free: 7.926 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003314/1.724, allocations: 1.252 MB / 1.42 GB, free: 7.059 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01169/1.736, allocations: 4.823 MB / 1.425 GB, free: 3.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.736, allocations: 0 / 1.425 GB, free: 3.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.124e-06/1.736, allocations: 3.938 kB / 1.425 GB, free: 3.746 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.000161/1.736, allocations: 0 / 1.425 GB, free: 3.746 MB / 1.029 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.008541/1.745, allocations: 2.722 MB / 1.428 GB, free: 1.668 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/1.745, allocations: 10.75 kB / 1.428 GB, free: 1.668 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005196/1.75, allocations: 0.7161 MB / 1.428 GB, free: 1.336 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/1.762, allocations: 5.527 MB / 1.434 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004515/1.763, allocations: 142.1 kB / 1.434 GB, free: 12.04 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004602/1.763, allocations: 116 kB / 1.434 GB, free: 11.92 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003794/1.767, allocations: 1.406 MB / 1.435 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/1.767, allocations: 7.938 kB / 1.435 GB, free: 10.37 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/1.768, allocations: 52 kB / 1.435 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.297e-05/1.768, allocations: 38 kB / 1.435 GB, free: 10.28 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002779/1.77, allocations: 0.9834 MB / 1.436 GB, free: 9.293 MB / 1.045 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.01236/1.783, allocations: 7.707 MB / 1.444 GB, free: 1.172 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009908/1.784, allocations: 370.9 kB / 1.444 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/1.784, allocations: 112.8 kB / 1.444 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003245/1.784, allocations: 190.2 kB / 1.445 GB, free: 460 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.785, allocations: 34.56 kB / 1.445 GB, free: 416 kB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 2.765e-06/1.785, allocations: 0 / 1.445 GB, free: 416 kB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.002014/1.787, allocations: 0.5277 MB / 1.445 GB, free: 15.87 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/1.787, allocations: 59.41 kB / 1.445 GB, free: 15.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004941/1.792, allocations: 2.28 MB / 1.447 GB, free: 13.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/1.792, allocations: 37.69 kB / 1.447 GB, free: 13.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/1.793, allocations: 0.9708 MB / 1.448 GB, free: 12.47 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/1.793, allocations: 91 kB / 1.448 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005338/1.794, allocations: 282.1 kB / 1.449 GB, free: 12.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.794, allocations: 353.9 kB / 1.449 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/1.795, allocations: 456.9 kB / 1.45 GB, free: 11.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/1.796, allocations: 0.9036 MB / 1.45 GB, free: 10.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/1.798, allocations: 1.222 MB / 1.452 GB, free: 8.762 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/1.798, allocations: 4 kB / 1.452 GB, free: 8.758 MB / 1.061 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003203/1.801, allocations: 1.518 MB / 1.453 GB, free: 7.234 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/1.801, allocations: 12 kB / 1.453 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/1.801, allocations: 19.94 kB / 1.453 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.876e-05/1.801, allocations: 23.98 kB / 1.453 GB, free: 7.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009326/1.802, allocations: 247.8 kB / 1.453 GB, free: 6.938 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.57e-05/1.802, allocations: 31.92 kB / 1.453 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/1.804, allocations: 226.5 kB / 1.454 GB, free: 6.684 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/1.804, allocations: 55.98 kB / 1.454 GB, free: 6.629 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001943/1.806, allocations: 0.9356 MB / 1.455 GB, free: 5.688 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001225/1.808, allocations: 0.888 MB / 1.455 GB, free: 4.594 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00176/1.809, allocations: 1.198 MB / 1.457 GB, free: 3.199 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.414e-05/1.809, allocations: 11.98 kB / 1.457 GB, free: 3.188 MB / 1.061 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003137/1.813, allocations: 1.487 MB / 1.458 GB, free: 1.691 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.813, allocations: 8 kB / 1.458 GB, free: 1.684 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/1.813, allocations: 16 kB / 1.458 GB, free: 1.668 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/1.813, allocations: 27.97 kB / 1.458 GB, free: 1.641 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008836/1.814, allocations: 239.6 kB / 1.458 GB, free: 1.406 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-05/1.814, allocations: 31.86 kB / 1.458 GB, free: 1.375 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/1.815, allocations: 151.6 kB / 1.459 GB, free: 1.227 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.816, allocations: 48 kB / 1.459 GB, free: 1.18 MB / 1.061 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.0003808/1.816, allocations: 251.8 kB / 1.459 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005241/1.817, allocations: 197.4 kB / 1.459 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006219/1.817, allocations: 175.9 kB / 1.459 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/1.817, allocations: 4 kB / 1.459 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/1.817, allocations: 0 / 1.459 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/1.817, allocations: 7.984 kB / 1.459 GB, free: 0.543 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/1.822, allocations: 1.854 MB / 1.461 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/1.822, allocations: 4 kB / 1.461 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/1.822, allocations: 51.89 kB / 1.461 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/1.822, allocations: 11.88 kB / 1.461 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/1.823, allocations: 12 kB / 1.461 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/1.823, allocations: 7.938 kB / 1.461 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/1.823, allocations: 8.25 kB / 1.461 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/1.824, allocations: 0.5684 MB / 1.462 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008614/1.825, allocations: 330.3 kB / 1.462 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006286/1.825, allocations: 12 kB / 1.462 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/1.827, allocations: 51.94 kB / 1.462 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/1.827, allocations: 23.86 kB / 1.462 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/1.827, allocations: 8 kB / 1.462 GB, free: 13.4 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003287/1.83, allocations: 1.559 MB / 1.464 GB, free: 11.83 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.7e-07/1.83, allocations: 0 / 1.464 GB, free: 11.83 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003459/1.833, allocations: 0.8152 MB / 1.464 GB, free: 11.02 MB / 1.076 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.001239/1.835, allocations: 442.9 kB / 1.465 GB, free: 10.57 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00446/1.839, allocations: 1.448 MB / 1.466 GB, free: 9.133 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/1.839, allocations: 4 kB / 1.466 GB, free: 9.129 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004867/1.84, allocations: 129.3 kB / 1.466 GB, free: 9.004 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008386/1.848, allocations: 1.077 MB / 1.467 GB, free: 7.961 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009318/1.858, allocations: 3.046 MB / 1.47 GB, free: 4.828 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002397/1.86, allocations: 1.493 MB / 1.472 GB, free: 3.301 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.003546/1.864, allocations: 461 kB / 1.472 GB, free: 2.848 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004977/1.864, allocations: 119.4 kB / 1.472 GB, free: 2.73 MB / 1.076 GB Notification: Performance of SimCode: time 1.643e-06/1.864, allocations: 0 / 1.472 GB, free: 2.73 MB / 1.076 GB Notification: Performance of Templates: time 0.09257/1.957, allocations: 35.92 MB / 1.507 GB, free: 15.21 MB / 1.123 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