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.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: 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.001282/0.001282, allocations: 91.92 kB / 16.02 MB, free: 80 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.002129/0.002129, allocations: 185.1 kB / 16.92 MB, free: 6.922 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.527/1.527, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.76/2.76, allocations: 462.6 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005132/0.0005134, allocations: 9.906 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3182, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.05/1.368, allocations: 298.9 MB / 1.351 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03252/1.401, allocations: 27.32 MB / 1.378 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004267/1.405, allocations: 69.34 kB / 1.378 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01112/1.416, allocations: 4.416 MB / 1.382 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009156/1.426, allocations: 2.737 MB / 1.385 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006834/1.433, allocations: 2.37 MB / 1.387 GB, free: 15.56 MB / 1.014 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01181/1.444, allocations: 8.599 MB / 1.396 GB, free: 13.22 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00302/1.447, allocations: 1.453 MB / 1.397 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005062/1.452, allocations: 1.86 MB / 1.399 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003719/1.456, allocations: 1.255 MB / 1.4 GB, free: 11.07 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005818/1.457, allocations: 66.94 kB / 1.4 GB, free: 11.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008155/1.465, allocations: 3.476 MB / 1.404 GB, free: 9.406 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001328/1.466, allocations: 0.6018 MB / 1.404 GB, free: 9.035 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003527/1.47, allocations: 1.094 MB / 1.405 GB, free: 8.312 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007109/1.477, allocations: 3.763 MB / 1.409 GB, free: 5.887 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.477, allocations: 3.938 kB / 1.409 GB, free: 5.883 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.905e-06/1.477, allocations: 0 / 1.409 GB, free: 5.883 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001487/1.477, allocations: 0 / 1.409 GB, free: 5.883 MB / 1.014 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.0058/1.483, allocations: 2.295 MB / 1.411 GB, free: 4.145 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.483, allocations: 9.688 kB / 1.411 GB, free: 4.145 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004883/1.488, allocations: 0.7507 MB / 1.412 GB, free: 3.816 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/1.499, allocations: 5.541 MB / 1.417 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004588/1.5, allocations: 154 kB / 1.417 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004294/1.5, allocations: 114.3 kB / 1.418 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003577/1.504, allocations: 1.39 MB / 1.419 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/1.504, allocations: 0 / 1.419 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/1.504, allocations: 48.03 kB / 1.419 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-05/1.504, allocations: 47.94 kB / 1.419 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/1.507, allocations: 1.016 MB / 1.42 GB, free: 14.5 MB / 1.029 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.01116/1.518, allocations: 7.118 MB / 1.427 GB, free: 8.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008607/1.519, allocations: 319.8 kB / 1.427 GB, free: 8.082 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/1.519, allocations: 126 kB / 1.427 GB, free: 8.016 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/1.519, allocations: 180.4 kB / 1.428 GB, free: 7.824 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.519, allocations: 45.39 kB / 1.428 GB, free: 7.773 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009038/1.52, allocations: 80.91 kB / 1.428 GB, free: 7.715 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 3.497e-06/1.52, allocations: 0 / 1.428 GB, free: 7.715 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001965/1.522, allocations: 0.5533 MB / 1.428 GB, free: 7.348 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/1.522, allocations: 59.34 kB / 1.428 GB, free: 7.277 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004593/1.527, allocations: 2.255 MB / 1.43 GB, free: 5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/1.527, allocations: 36.59 kB / 1.431 GB, free: 4.961 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/1.528, allocations: 0.9692 MB / 1.431 GB, free: 3.992 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/1.528, allocations: 79.08 kB / 1.432 GB, free: 3.914 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/1.529, allocations: 129.6 kB / 1.432 GB, free: 3.781 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.529, allocations: 349.9 kB / 1.432 GB, free: 3.434 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/1.53, allocations: 458.1 kB / 1.432 GB, free: 2.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/1.532, allocations: 0.8674 MB / 1.433 GB, free: 1.922 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002148/1.534, allocations: 1.185 MB / 1.434 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/1.534, allocations: 0 / 1.434 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003545/1.537, allocations: 1.498 MB / 1.436 GB, free: 15.06 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004294/1.538, allocations: 476.6 kB / 1.436 GB, free: 14.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/1.538, allocations: 16 kB / 1.436 GB, free: 14.39 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.291e-05/1.538, allocations: 16 kB / 1.436 GB, free: 14.38 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008786/1.539, allocations: 243.6 kB / 1.437 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.363e-05/1.539, allocations: 23.92 kB / 1.437 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/1.541, allocations: 157.5 kB / 1.437 GB, free: 13.96 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/1.541, allocations: 48 kB / 1.437 GB, free: 13.92 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/1.541, allocations: 4 kB / 1.437 GB, free: 13.91 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002422/1.543, allocations: 1.278 MB / 1.438 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/1.543, allocations: 12 kB / 1.438 GB, free: 12.63 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/1.543, allocations: 23.94 kB / 1.438 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/1.544, allocations: 236.2 kB / 1.438 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.833e-05/1.544, allocations: 23.92 kB / 1.438 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/1.546, allocations: 129.4 kB / 1.439 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/1.546, allocations: 44 kB / 1.439 GB, free: 12.18 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (118): * Single equations (assignments): 116 * 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.001285/1.547, allocations: 0.649 MB / 1.439 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005658/1.548, allocations: 197.5 kB / 1.439 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005962/1.548, allocations: 179.6 kB / 1.44 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/1.548, allocations: 3.984 kB / 1.44 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/1.548, allocations: 0 / 1.44 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/1.548, allocations: 0 / 1.44 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004644/1.553, allocations: 1.944 MB / 1.441 GB, free: 9.086 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/1.553, allocations: 4.062 kB / 1.441 GB, free: 9.082 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/1.553, allocations: 60.2 kB / 1.442 GB, free: 9.023 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.507e-06/1.553, allocations: 12 kB / 1.442 GB, free: 9.012 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/1.553, allocations: 12 kB / 1.442 GB, free: 9 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/1.553, allocations: 11.92 kB / 1.442 GB, free: 8.988 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001228/1.554, allocations: 7.938 kB / 1.442 GB, free: 8.98 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/1.555, allocations: 0.5891 MB / 1.442 GB, free: 8.316 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008847/1.556, allocations: 322.4 kB / 1.442 GB, free: 7.98 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004335/1.556, allocations: 15.98 kB / 1.442 GB, free: 7.965 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/1.557, allocations: 67.94 kB / 1.443 GB, free: 7.898 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/1.557, allocations: 27.86 kB / 1.443 GB, free: 7.871 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/1.557, allocations: 8 kB / 1.443 GB, free: 7.863 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003453/1.561, allocations: 1.535 MB / 1.444 GB, free: 6.316 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.61e-07/1.561, allocations: 0 / 1.444 GB, free: 6.316 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003246/1.564, allocations: 0.823 MB / 1.445 GB, free: 5.492 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.00112/1.565, allocations: 450.1 kB / 1.445 GB, free: 5.062 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003238/1.569, allocations: 1.439 MB / 1.447 GB, free: 3.625 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/1.569, allocations: 4 kB / 1.447 GB, free: 3.621 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000387/1.569, allocations: 137.6 kB / 1.447 GB, free: 3.488 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006693/1.576, allocations: 0.9977 MB / 1.448 GB, free: 2.508 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007229/1.583, allocations: 3.748 MB / 1.451 GB, free: 14.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001634/1.585, allocations: 1.485 MB / 1.453 GB, free: 13.14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004932/1.585, allocations: 131.4 kB / 1.453 GB, free: 13.02 MB / 1.061 GB Notification: Performance of SimCode: time 1.182e-06/1.585, allocations: 4 kB / 1.453 GB, free: 13.01 MB / 1.061 GB Notification: Performance of Templates: time 0.05931/1.644, allocations: 32.76 MB / 1.485 GB, free: 12.44 MB / 1.092 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/jenkins1/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