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.00121/0.00121, 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.001268/0.001268, allocations: 195.7 kB / 16.14 MB, free: 6.648 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.458/1.458, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 66.72 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4354, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.236/1.672, allocations: 303 MB / 1.363 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03937/1.711, allocations: 27.68 MB / 1.391 GB, free: 7.359 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005728/1.717, allocations: 73.88 kB / 1.391 GB, free: 7.359 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01195/1.729, allocations: 4.441 MB / 1.395 GB, free: 6.238 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01022/1.739, allocations: 2.724 MB / 1.398 GB, free: 5.133 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007968/1.747, allocations: 2.385 MB / 1.4 GB, free: 3.559 MB / 1.014 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.01473/1.762, allocations: 8.595 MB / 1.408 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003946/1.766, allocations: 1.526 MB / 1.41 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007172/1.773, allocations: 1.928 MB / 1.412 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00464/1.778, allocations: 1.346 MB / 1.413 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0007965/1.779, allocations: 99.16 kB / 1.413 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009557/1.788, allocations: 3.507 MB / 1.416 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001563/1.79, allocations: 0.6527 MB / 1.417 GB, free: 9.844 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002201/1.792, allocations: 1.125 MB / 1.418 GB, free: 9.105 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009627/1.802, allocations: 4.961 MB / 1.423 GB, free: 5.703 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.802, allocations: 2.469 kB / 1.423 GB, free: 5.703 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.001e-06/1.802, allocations: 0 / 1.423 GB, free: 5.703 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.566e-05/1.802, allocations: 0 / 1.423 GB, free: 5.703 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.005674/1.807, allocations: 2.73 MB / 1.426 GB, free: 3.293 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.807, allocations: 11.97 kB / 1.426 GB, free: 3.281 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00447/1.812, allocations: 0.723 MB / 1.426 GB, free: 2.555 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/1.822, allocations: 5.527 MB / 1.432 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003929/1.822, allocations: 158 kB / 1.432 GB, free: 12.81 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/1.823, allocations: 112 kB / 1.432 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002723/1.825, allocations: 1.38 MB / 1.433 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/1.825, allocations: 3.938 kB / 1.433 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/1.826, allocations: 48 kB / 1.434 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/1.826, allocations: 42 kB / 1.434 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/1.828, allocations: 1.003 MB / 1.435 GB, free: 10.11 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.0113/1.839, allocations: 7.112 MB / 1.441 GB, free: 2.617 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009342/1.84, allocations: 318.7 kB / 1.442 GB, free: 2.297 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/1.841, allocations: 128.8 kB / 1.442 GB, free: 2.168 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000314/1.841, allocations: 186.2 kB / 1.442 GB, free: 1.949 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/1.841, allocations: 34.56 kB / 1.442 GB, free: 1.906 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001001/1.842, allocations: 86.89 kB / 1.442 GB, free: 1.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 2.725e-06/1.842, allocations: 4 kB / 1.442 GB, free: 1.816 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001651/1.844, allocations: 0.5549 MB / 1.443 GB, free: 1.254 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/1.844, allocations: 59.41 kB / 1.443 GB, free: 1.184 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/1.847, allocations: 2.243 MB / 1.445 GB, free: 14.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/1.847, allocations: 37.64 kB / 1.445 GB, free: 14.87 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000894/1.848, allocations: 0.9745 MB / 1.446 GB, free: 13.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.871e-05/1.848, allocations: 75.08 kB / 1.446 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003878/1.849, allocations: 278.2 kB / 1.446 GB, free: 13.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.849, allocations: 349.9 kB / 1.447 GB, free: 13.19 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009563/1.85, allocations: 456.9 kB / 1.447 GB, free: 12.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/1.851, allocations: 0.875 MB / 1.448 GB, free: 11.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/1.853, allocations: 1.174 MB / 1.449 GB, free: 10.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-05/1.853, allocations: 4 kB / 1.449 GB, free: 10.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003072/1.856, allocations: 1.479 MB / 1.451 GB, free: 8.832 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/1.856, allocations: 15.94 kB / 1.451 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/1.856, allocations: 16.06 kB / 1.451 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/1.856, allocations: 23.94 kB / 1.451 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00089/1.857, allocations: 227.6 kB / 1.451 GB, free: 8.555 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.859e-05/1.857, allocations: 23.92 kB / 1.451 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/1.859, allocations: 152.7 kB / 1.451 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.078e-05/1.859, allocations: 51.98 kB / 1.451 GB, free: 8.332 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001932/1.861, allocations: 0.9317 MB / 1.452 GB, free: 7.391 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001173/1.862, allocations: 0.8556 MB / 1.453 GB, free: 6.352 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001659/1.864, allocations: 1.162 MB / 1.454 GB, free: 5.012 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.925e-06/1.864, allocations: 4 kB / 1.454 GB, free: 5.008 MB / 1.061 GB Notification: Performance of matching and sorting (n=151) (initialization_lambda0): time 0.002541/1.866, allocations: 1.478 MB / 1.455 GB, free: 3.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.866, allocations: 8 kB / 1.455 GB, free: 3.512 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/1.866, allocations: 12 kB / 1.455 GB, free: 3.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.866, allocations: 20 kB / 1.455 GB, free: 3.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008183/1.867, allocations: 231.9 kB / 1.456 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.644e-05/1.867, allocations: 31.86 kB / 1.456 GB, free: 3.223 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/1.869, allocations: 120.3 kB / 1.456 GB, free: 3.105 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.918e-05/1.869, allocations: 48 kB / 1.456 GB, free: 3.059 MB / 1.061 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.0002867/1.869, allocations: 243.8 kB / 1.456 GB, free: 2.812 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/1.869, allocations: 193.5 kB / 1.456 GB, free: 2.621 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/1.87, allocations: 167.7 kB / 1.456 GB, free: 2.453 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/1.87, allocations: 7.938 kB / 1.456 GB, free: 2.445 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.87, allocations: 128 / 1.456 GB, free: 2.445 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/1.87, allocations: 4 kB / 1.456 GB, free: 2.441 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/1.873, allocations: 1.952 MB / 1.458 GB, free: 380 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.873, allocations: 4 kB / 1.458 GB, free: 376 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/1.873, allocations: 47.91 kB / 1.458 GB, free: 328 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/1.873, allocations: 11.94 kB / 1.458 GB, free: 316 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/1.873, allocations: 11.98 kB / 1.458 GB, free: 304 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/1.873, allocations: 8.25 kB / 1.458 GB, free: 296 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.873, allocations: 11.94 kB / 1.458 GB, free: 284 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/1.875, allocations: 0.6004 MB / 1.459 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/1.875, allocations: 322.5 kB / 1.459 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/1.875, allocations: 19.92 kB / 1.459 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008276/1.876, allocations: 63.84 kB / 1.459 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/1.876, allocations: 31.86 kB / 1.459 GB, free: 15.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/1.876, allocations: 8 kB / 1.459 GB, free: 15.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002328/1.879, allocations: 1.531 MB / 1.461 GB, free: 13.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/1.879, allocations: 0 / 1.461 GB, free: 13.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00236/1.881, allocations: 0.8191 MB / 1.462 GB, free: 12.78 MB / 1.076 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.0009265/1.882, allocations: 435.3 kB / 1.462 GB, free: 12.35 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002783/1.885, allocations: 1.43 MB / 1.464 GB, free: 10.92 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.885, allocations: 0 / 1.464 GB, free: 10.92 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003689/1.885, allocations: 145.9 kB / 1.464 GB, free: 10.78 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003945/1.889, allocations: 0.9876 MB / 1.465 GB, free: 9.805 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005166/1.894, allocations: 3.596 MB / 1.468 GB, free: 6.121 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/1.895, allocations: 1.485 MB / 1.47 GB, free: 4.602 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002007/1.897, allocations: 452.5 kB / 1.47 GB, free: 4.156 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/1.898, allocations: 119.4 kB / 1.47 GB, free: 4.043 MB / 1.076 GB Notification: Performance of SimCode: time 1.172e-06/1.898, allocations: 0 / 1.47 GB, free: 4.043 MB / 1.076 GB Notification: Performance of Templates: time 0.06686/1.964, allocations: 34.55 MB / 1.504 GB, free: 1.859 MB / 1.107 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