Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p",fileNamePrefix="Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p",fileNamePrefix="Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 104.9 kB / 15.98 MB, free: 6.34 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.001445/0.001445, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.567/2.567, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001873, allocations: 71.92 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3492, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.8285/1.178, allocations: 309.1 MB / 1.366 GB, free: 3.641 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0392/1.217, allocations: 29.14 MB / 1.394 GB, free: 6.422 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003416/1.22, allocations: 71.62 kB / 1.395 GB, free: 6.352 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.01087/1.231, allocations: 4.795 MB / 1.399 GB, free: 1.547 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008585/1.24, allocations: 2.845 MB / 1.402 GB, free: 14.69 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006835/1.247, allocations: 2.426 MB / 1.404 GB, free: 12.28 MB / 1.123 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.01179/1.259, allocations: 7.594 MB / 1.412 GB, free: 4.668 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003517/1.262, allocations: 2.068 MB / 1.414 GB, free: 2.559 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005581/1.268, allocations: 2.383 MB / 1.416 GB, free: 172 kB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003664/1.271, allocations: 1.581 MB / 1.418 GB, free: 14.59 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0006137/1.272, allocations: 248 kB / 1.418 GB, free: 14.34 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007517/1.28, allocations: 3.714 MB / 1.422 GB, free: 10.62 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001256/1.281, allocations: 0.8219 MB / 1.422 GB, free: 9.797 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00203/1.283, allocations: 1.388 MB / 1.424 GB, free: 8.402 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.006246/1.289, allocations: 4.249 MB / 1.428 GB, free: 4.145 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.289, allocations: 0 / 1.428 GB, free: 4.145 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.883e-06/1.289, allocations: 0 / 1.428 GB, free: 4.145 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.096e-05/1.289, allocations: 4 kB / 1.428 GB, free: 4.141 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005743/1.295, allocations: 2.912 MB / 1.431 GB, free: 1.156 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/1.295, allocations: 12.03 kB / 1.431 GB, free: 1.145 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005977/1.301, allocations: 0.9374 MB / 1.432 GB, free: 208 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/1.312, allocations: 5.634 MB / 1.437 GB, free: 10.52 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003948/1.312, allocations: 158.5 kB / 1.437 GB, free: 10.36 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003562/1.313, allocations: 136 kB / 1.437 GB, free: 10.23 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/1.316, allocations: 1.596 MB / 1.439 GB, free: 8.57 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/1.316, allocations: 7.938 kB / 1.439 GB, free: 8.562 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/1.316, allocations: 52 kB / 1.439 GB, free: 8.512 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.814e-05/1.316, allocations: 50.5 kB / 1.439 GB, free: 8.461 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/1.32, allocations: 1.353 MB / 1.44 GB, free: 7.102 MB / 1.154 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.01158/1.331, allocations: 7.506 MB / 1.448 GB, free: 15.08 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/1.333, allocations: 0.652 MB / 1.448 GB, free: 14.4 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000677/1.334, allocations: 273.3 kB / 1.449 GB, free: 14.13 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003236/1.334, allocations: 198.2 kB / 1.449 GB, free: 13.9 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/1.334, allocations: 42.5 kB / 1.449 GB, free: 13.85 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008519/1.335, allocations: 102.6 kB / 1.449 GB, free: 13.75 MB / 1.17 GB Notification: Performance of pre-optimization done (n=36): time 2.735e-06/1.335, allocations: 0 / 1.449 GB, free: 13.75 MB / 1.17 GB Notification: Performance of matching and sorting (n=36): time 0.002884/1.338, allocations: 1.072 MB / 1.45 GB, free: 12.63 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/1.338, allocations: 63.28 kB / 1.45 GB, free: 12.55 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003654/1.342, allocations: 2.356 MB / 1.452 GB, free: 10.18 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.71e-05/1.342, allocations: 33.7 kB / 1.452 GB, free: 10.14 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008899/1.343, allocations: 0.9651 MB / 1.453 GB, free: 9.164 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/1.343, allocations: 134.1 kB / 1.453 GB, free: 9.031 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004053/1.343, allocations: 254.3 kB / 1.454 GB, free: 8.777 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.343, allocations: 357.9 kB / 1.454 GB, free: 8.422 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/1.344, allocations: 0.5321 MB / 1.455 GB, free: 7.883 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/1.346, allocations: 0.809 MB / 1.455 GB, free: 6.961 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/1.348, allocations: 1.148 MB / 1.456 GB, free: 5.719 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.457e-06/1.348, allocations: 4 kB / 1.456 GB, free: 5.715 MB / 1.17 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003591/1.352, allocations: 1.672 MB / 1.458 GB, free: 4.012 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/1.352, allocations: 11.98 kB / 1.458 GB, free: 4 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/1.352, allocations: 8.875 kB / 1.458 GB, free: 3.992 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/1.352, allocations: 40.84 kB / 1.458 GB, free: 3.949 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/1.353, allocations: 231.8 kB / 1.458 GB, free: 3.723 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/1.354, allocations: 1.564 MB / 1.46 GB, free: 2.016 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/1.357, allocations: 209.8 kB / 1.46 GB, free: 1.812 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/1.357, allocations: 47.98 kB / 1.46 GB, free: 1.766 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002092/1.359, allocations: 1.027 MB / 1.461 GB, free: 0.7383 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001416/1.36, allocations: 0.7972 MB / 1.462 GB, free: 15.83 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002026/1.362, allocations: 1.14 MB / 1.463 GB, free: 14.59 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.969e-06/1.362, allocations: 0 / 1.463 GB, free: 14.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.003407/1.366, allocations: 1.655 MB / 1.465 GB, free: 12.9 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.366, allocations: 10.5 kB / 1.465 GB, free: 12.89 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.366, allocations: 8 kB / 1.465 GB, free: 12.89 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000102/1.366, allocations: 36.84 kB / 1.465 GB, free: 12.85 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.367, allocations: 231.7 kB / 1.465 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/1.368, allocations: 1.568 MB / 1.466 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/1.37, allocations: 184.2 kB / 1.467 GB, free: 10.73 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.376e-05/1.37, allocations: 39.98 kB / 1.467 GB, free: 10.7 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002879/1.371, allocations: 235.9 kB / 1.467 GB, free: 10.46 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/1.371, allocations: 205.3 kB / 1.467 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/1.373, allocations: 0.7798 MB / 1.468 GB, free: 9.434 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/1.373, allocations: 4 kB / 1.468 GB, free: 9.43 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.373, allocations: 4.047 kB / 1.468 GB, free: 9.426 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/1.373, allocations: 7.969 kB / 1.468 GB, free: 9.418 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004052/1.377, allocations: 2.199 MB / 1.47 GB, free: 7.117 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.377, allocations: 0 / 1.47 GB, free: 7.117 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006226/1.378, allocations: 92.08 kB / 1.47 GB, free: 7.027 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/1.378, allocations: 28.84 kB / 1.47 GB, free: 6.996 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/1.378, allocations: 12 kB / 1.47 GB, free: 6.984 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/1.379, allocations: 1.552 MB / 1.472 GB, free: 5.293 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.379, allocations: 8.094 kB / 1.472 GB, free: 5.285 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/1.381, allocations: 0.9129 MB / 1.473 GB, free: 4.312 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007487/1.382, allocations: 354.2 kB / 1.473 GB, free: 3.945 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/1.382, allocations: 12 kB / 1.473 GB, free: 3.934 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/1.383, allocations: 107.8 kB / 1.473 GB, free: 3.828 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/1.383, allocations: 31.84 kB / 1.473 GB, free: 3.797 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/1.383, allocations: 15.98 kB / 1.473 GB, free: 3.781 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002918/1.386, allocations: 1.642 MB / 1.475 GB, free: 2.129 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.51e-07/1.386, allocations: 0 / 1.475 GB, free: 2.129 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002728/1.389, allocations: 0.9086 MB / 1.476 GB, free: 1.219 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001004/1.39, allocations: 454.8 kB / 1.476 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004178/1.394, allocations: 1.888 MB / 1.478 GB, free: 14.85 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/1.394, allocations: 0 / 1.478 GB, free: 14.85 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007555/1.395, allocations: 363.4 kB / 1.478 GB, free: 14.48 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005084/1.4, allocations: 1.241 MB / 1.479 GB, free: 13.28 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006539/1.407, allocations: 4.044 MB / 1.483 GB, free: 9.168 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/1.408, allocations: 1.537 MB / 1.485 GB, free: 7.598 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005596/1.409, allocations: 147.4 kB / 1.485 GB, free: 7.453 MB / 1.201 GB Notification: Performance of SimCode: time 7.82e-07/1.409, allocations: 0 / 1.485 GB, free: 7.453 MB / 1.201 GB Notification: Performance of Templates: time 0.06975/1.478, allocations: 47.13 MB / 1.531 GB, free: 8.523 MB / 1.248 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches