Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001373/0.001374, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001319/0.001319, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.587/1.587, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.819/2.819, allocations: 437.1 MB / 0.7111 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 76.06 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2994, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.832/1.132, allocations: 312.7 MB / 1.323 GB, free: 372 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04326/1.175, allocations: 29.38 MB / 1.352 GB, free: 2.898 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004076/1.179, allocations: 83.56 kB / 1.352 GB, free: 2.816 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01147/1.19, allocations: 4.88 MB / 1.357 GB, free: 13.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.009815/1.2, allocations: 3.037 MB / 1.36 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.008761/1.209, allocations: 2.611 MB / 1.362 GB, free: 8.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01382/1.223, allocations: 7.417 MB / 1.37 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003874/1.227, allocations: 2.058 MB / 1.372 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00605/1.233, allocations: 2.359 MB / 1.374 GB, free: 12.38 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003724/1.237, allocations: 1.468 MB / 1.375 GB, free: 10.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0006808/1.237, allocations: 244 kB / 1.376 GB, free: 10.67 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008543/1.246, allocations: 3.594 MB / 1.379 GB, free: 7.066 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001574/1.248, allocations: 0.8179 MB / 1.38 GB, free: 6.246 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002496/1.25, allocations: 1.381 MB / 1.381 GB, free: 4.859 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01016/1.26, allocations: 5.321 MB / 1.386 GB, free: 15.52 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.26, allocations: 0 / 1.386 GB, free: 15.52 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.284e-06/1.26, allocations: 0 / 1.386 GB, free: 15.52 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001086/1.26, allocations: 0 / 1.386 GB, free: 15.52 MB / 1.092 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.006485/1.267, allocations: 2.908 MB / 1.389 GB, free: 12.54 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.267, allocations: 16.88 kB / 1.389 GB, free: 12.53 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006336/1.273, allocations: 0.9374 MB / 1.39 GB, free: 11.59 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/1.285, allocations: 5.63 MB / 1.396 GB, free: 5.902 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004262/1.286, allocations: 162.5 kB / 1.396 GB, free: 5.742 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000345/1.286, allocations: 136 kB / 1.396 GB, free: 5.609 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003636/1.29, allocations: 1.593 MB / 1.398 GB, free: 3.949 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/1.29, allocations: 0 / 1.398 GB, free: 3.949 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/1.29, allocations: 52 kB / 1.398 GB, free: 3.898 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.026e-05/1.29, allocations: 50.48 kB / 1.398 GB, free: 3.848 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003605/1.294, allocations: 1.337 MB / 1.399 GB, free: 2.504 MB / 1.092 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.01312/1.307, allocations: 7.687 MB / 1.406 GB, free: 10.29 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/1.309, allocations: 0.6724 MB / 1.407 GB, free: 9.594 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007264/1.31, allocations: 265.4 kB / 1.407 GB, free: 9.332 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003568/1.31, allocations: 190.2 kB / 1.408 GB, free: 9.109 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/1.31, allocations: 34.56 kB / 1.408 GB, free: 9.066 MB / 1.107 GB Notification: Performance of pre-optimization done (n=35): time 2.244e-06/1.31, allocations: 0 / 1.408 GB, free: 9.066 MB / 1.107 GB Notification: Performance of matching and sorting (n=35): time 0.003376/1.313, allocations: 1.043 MB / 1.409 GB, free: 7.977 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/1.313, allocations: 59.34 kB / 1.409 GB, free: 7.906 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004332/1.318, allocations: 2.368 MB / 1.411 GB, free: 5.52 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/1.318, allocations: 37.7 kB / 1.411 GB, free: 5.477 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001082/1.319, allocations: 0.9613 MB / 1.412 GB, free: 4.504 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/1.319, allocations: 130.2 kB / 1.412 GB, free: 4.375 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004641/1.32, allocations: 250.3 kB / 1.412 GB, free: 4.125 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002049/1.32, allocations: 353.9 kB / 1.413 GB, free: 3.773 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/1.321, allocations: 0.5165 MB / 1.413 GB, free: 3.254 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/1.323, allocations: 0.7934 MB / 1.414 GB, free: 2.348 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/1.325, allocations: 1.128 MB / 1.415 GB, free: 1.121 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.325, allocations: 0 / 1.415 GB, free: 1.121 MB / 1.107 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004162/1.329, allocations: 1.64 MB / 1.417 GB, free: 15.45 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/1.33, allocations: 10.5 kB / 1.417 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/1.33, allocations: 8 kB / 1.417 GB, free: 15.44 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001944/1.33, allocations: 32.84 kB / 1.417 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/1.331, allocations: 248 kB / 1.417 GB, free: 15.16 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/1.333, allocations: 1.576 MB / 1.418 GB, free: 13.45 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/1.335, allocations: 246.7 kB / 1.419 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/1.335, allocations: 43.98 kB / 1.419 GB, free: 13.16 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00262/1.338, allocations: 1.014 MB / 1.42 GB, free: 12.14 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001626/1.34, allocations: 0.7855 MB / 1.421 GB, free: 11.25 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002299/1.342, allocations: 1.108 MB / 1.422 GB, free: 10.04 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.226e-05/1.342, allocations: 7.984 kB / 1.422 GB, free: 10.03 MB / 1.123 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003898/1.346, allocations: 1.611 MB / 1.423 GB, free: 8.391 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.346, allocations: 8 kB / 1.423 GB, free: 8.383 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/1.346, allocations: 11.94 kB / 1.423 GB, free: 8.371 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/1.346, allocations: 45.22 kB / 1.423 GB, free: 8.324 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.347, allocations: 227.7 kB / 1.423 GB, free: 8.102 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/1.349, allocations: 1.572 MB / 1.425 GB, free: 6.383 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/1.351, allocations: 170.8 kB / 1.425 GB, free: 6.219 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.351, allocations: 35.98 kB / 1.425 GB, free: 6.184 MB / 1.123 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 (103): * Single equations (assignments): 100 * 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.0003349/1.351, allocations: 240 kB / 1.425 GB, free: 5.941 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005393/1.352, allocations: 209.2 kB / 1.426 GB, free: 5.734 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/1.354, allocations: 0.759 MB / 1.426 GB, free: 4.938 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/1.354, allocations: 4 kB / 1.426 GB, free: 4.934 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.354, allocations: 0 / 1.426 GB, free: 4.934 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/1.354, allocations: 0 / 1.426 GB, free: 4.934 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004988/1.359, allocations: 2.171 MB / 1.428 GB, free: 2.66 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.359, allocations: 0 / 1.428 GB, free: 2.66 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006508/1.36, allocations: 96.14 kB / 1.429 GB, free: 2.566 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-05/1.36, allocations: 32.84 kB / 1.429 GB, free: 2.531 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/1.36, allocations: 15.98 kB / 1.429 GB, free: 2.516 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/1.361, allocations: 1.556 MB / 1.43 GB, free: 0.8242 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/1.361, allocations: 4.031 kB / 1.43 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/1.363, allocations: 0.8895 MB / 1.431 GB, free: 15.87 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008527/1.364, allocations: 354.3 kB / 1.431 GB, free: 15.5 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004752/1.365, allocations: 8 kB / 1.431 GB, free: 15.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/1.366, allocations: 71.92 kB / 1.431 GB, free: 15.43 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/1.366, allocations: 23.91 kB / 1.431 GB, free: 15.4 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/1.366, allocations: 15.98 kB / 1.431 GB, free: 15.39 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003464/1.369, allocations: 1.651 MB / 1.433 GB, free: 13.73 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.71e-07/1.369, allocations: 3.938 kB / 1.433 GB, free: 13.72 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003133/1.373, allocations: 0.8969 MB / 1.434 GB, free: 12.82 MB / 1.139 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 (33): * Single equations (assignments): 32 * 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.001164/1.374, allocations: 446.7 kB / 1.434 GB, free: 12.38 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004629/1.378, allocations: 1.837 MB / 1.436 GB, free: 10.52 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.378, allocations: 256 / 1.436 GB, free: 10.52 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000831/1.379, allocations: 358.7 kB / 1.437 GB, free: 10.16 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006265/1.386, allocations: 1.241 MB / 1.438 GB, free: 8.949 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007705/1.393, allocations: 3.418 MB / 1.441 GB, free: 5.465 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002002/1.395, allocations: 1.557 MB / 1.443 GB, free: 3.875 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006022/1.396, allocations: 139.4 kB / 1.443 GB, free: 3.738 MB / 1.139 GB Notification: Performance of SimCode: time 1.202e-06/1.396, allocations: 0 / 1.443 GB, free: 3.738 MB / 1.139 GB Notification: Performance of Templates: time 0.07205/1.468, allocations: 47.14 MB / 1.489 GB, free: 4.789 MB / 1.186 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches