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.00145/0.00145, allocations: 107.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.001541/0.001541, allocations: 190.3 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.662/2.662, allocations: 437 MB / 0.711 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 68.48 kB / 0.8699 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2682, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.8213/1.089, allocations: 312.7 MB / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0402/1.13, allocations: 29.37 MB / 1.352 GB, free: 3.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003704/1.133, allocations: 87.5 kB / 1.352 GB, free: 2.984 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01082/1.144, allocations: 4.881 MB / 1.357 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008856/1.153, allocations: 3.045 MB / 1.36 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.007302/1.161, allocations: 2.605 MB / 1.362 GB, free: 8.438 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01181/1.172, allocations: 7.417 MB / 1.37 GB, free: 1.008 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003987/1.176, allocations: 2.054 MB / 1.372 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005672/1.182, allocations: 2.367 MB / 1.374 GB, free: 12.54 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003149/1.185, allocations: 1.463 MB / 1.375 GB, free: 11.07 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007619/1.186, allocations: 244 kB / 1.376 GB, free: 10.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007818/1.194, allocations: 3.598 MB / 1.379 GB, free: 7.23 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001302/1.195, allocations: 0.8141 MB / 1.38 GB, free: 6.414 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00269/1.198, allocations: 1.384 MB / 1.381 GB, free: 5.023 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009276/1.207, allocations: 5.314 MB / 1.386 GB, free: 15.69 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.207, allocations: 8 kB / 1.386 GB, free: 15.68 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.493e-06/1.207, allocations: 0 / 1.386 GB, free: 15.68 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001264/1.207, allocations: 0 / 1.386 GB, free: 15.68 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.006996/1.214, allocations: 2.906 MB / 1.389 GB, free: 12.71 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.214, allocations: 16.88 kB / 1.389 GB, free: 12.7 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00665/1.221, allocations: 0.9374 MB / 1.39 GB, free: 11.75 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/1.232, allocations: 5.629 MB / 1.396 GB, free: 6.07 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004292/1.232, allocations: 158.5 kB / 1.396 GB, free: 5.914 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004492/1.233, allocations: 139.9 kB / 1.396 GB, free: 5.777 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004051/1.237, allocations: 1.593 MB / 1.398 GB, free: 4.117 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/1.237, allocations: 0 / 1.398 GB, free: 4.117 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/1.237, allocations: 52 kB / 1.398 GB, free: 4.066 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.154e-05/1.237, allocations: 50.5 kB / 1.398 GB, free: 4.016 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/1.241, allocations: 1.345 MB / 1.399 GB, free: 2.664 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.01225/1.253, allocations: 7.675 MB / 1.406 GB, free: 10.46 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/1.255, allocations: 0.676 MB / 1.407 GB, free: 9.758 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007157/1.256, allocations: 261.3 kB / 1.407 GB, free: 9.5 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/1.256, allocations: 190.2 kB / 1.408 GB, free: 9.277 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/1.257, allocations: 42.56 kB / 1.408 GB, free: 9.227 MB / 1.107 GB Notification: Performance of pre-optimization done (n=35): time 2.705e-06/1.257, allocations: 3.938 kB / 1.408 GB, free: 9.223 MB / 1.107 GB Notification: Performance of matching and sorting (n=35): time 0.003056/1.26, allocations: 1.039 MB / 1.409 GB, free: 8.137 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/1.26, allocations: 63.34 kB / 1.409 GB, free: 8.062 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00472/1.264, allocations: 2.36 MB / 1.411 GB, free: 5.684 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/1.265, allocations: 37.7 kB / 1.411 GB, free: 5.641 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/1.266, allocations: 0.9613 MB / 1.412 GB, free: 4.668 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/1.266, allocations: 126.2 kB / 1.412 GB, free: 4.543 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004911/1.266, allocations: 258.3 kB / 1.412 GB, free: 4.285 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.266, allocations: 353.9 kB / 1.413 GB, free: 3.934 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/1.268, allocations: 0.5243 MB / 1.413 GB, free: 3.406 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/1.269, allocations: 0.7895 MB / 1.414 GB, free: 2.504 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/1.272, allocations: 1.124 MB / 1.415 GB, free: 1.285 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/1.272, allocations: 4 kB / 1.415 GB, free: 1.281 MB / 1.107 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003742/1.275, allocations: 1.636 MB / 1.417 GB, free: 15.61 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/1.275, allocations: 8 kB / 1.417 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/1.275, allocations: 8 kB / 1.417 GB, free: 15.6 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/1.276, allocations: 37.22 kB / 1.417 GB, free: 15.56 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.277, allocations: 247.6 kB / 1.417 GB, free: 15.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/1.278, allocations: 1.568 MB / 1.418 GB, free: 13.61 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/1.28, allocations: 243.5 kB / 1.419 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/1.28, allocations: 43.98 kB / 1.419 GB, free: 13.33 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002263/1.282, allocations: 1.014 MB / 1.42 GB, free: 12.31 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001424/1.284, allocations: 0.7855 MB / 1.42 GB, free: 11.41 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002045/1.286, allocations: 1.104 MB / 1.422 GB, free: 10.21 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.146e-06/1.286, allocations: 4 kB / 1.422 GB, free: 10.21 MB / 1.123 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003572/1.29, allocations: 1.611 MB / 1.423 GB, free: 8.566 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.29, allocations: 14.7 kB / 1.423 GB, free: 8.555 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.29, allocations: 12 kB / 1.423 GB, free: 8.543 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/1.29, allocations: 40.88 kB / 1.423 GB, free: 8.5 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.291, allocations: 235.6 kB / 1.423 GB, free: 8.27 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/1.292, allocations: 1.568 MB / 1.425 GB, free: 6.555 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/1.294, allocations: 168.4 kB / 1.425 GB, free: 6.391 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/1.294, allocations: 43.98 kB / 1.425 GB, free: 6.348 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.000288/1.294, allocations: 234.1 kB / 1.425 GB, free: 6.113 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004564/1.295, allocations: 213.2 kB / 1.426 GB, free: 5.902 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/1.297, allocations: 0.7551 MB / 1.426 GB, free: 5.109 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/1.297, allocations: 0 / 1.426 GB, free: 5.109 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.297, allocations: 4 kB / 1.426 GB, free: 5.105 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.297, allocations: 7.922 kB / 1.426 GB, free: 5.098 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00444/1.301, allocations: 2.163 MB / 1.428 GB, free: 2.832 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.301, allocations: 4.062 kB / 1.428 GB, free: 2.828 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/1.302, allocations: 100.1 kB / 1.429 GB, free: 2.73 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.752e-05/1.302, allocations: 32.84 kB / 1.429 GB, free: 2.695 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/1.302, allocations: 8 kB / 1.429 GB, free: 2.688 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/1.303, allocations: 1.556 MB / 1.43 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.303, allocations: 8.094 kB / 1.43 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/1.305, allocations: 0.8894 MB / 1.431 GB, free: 40 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007932/1.306, allocations: 350.3 kB / 1.431 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004716/1.307, allocations: 8 kB / 1.431 GB, free: 15.67 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/1.308, allocations: 67.92 kB / 1.431 GB, free: 15.6 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/1.308, allocations: 31.91 kB / 1.431 GB, free: 15.57 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-05/1.308, allocations: 19.98 kB / 1.431 GB, free: 15.55 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003278/1.311, allocations: 1.643 MB / 1.433 GB, free: 13.9 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.91e-07/1.311, allocations: 0 / 1.433 GB, free: 13.9 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002961/1.314, allocations: 0.8969 MB / 1.434 GB, free: 13 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.001053/1.315, allocations: 458.8 kB / 1.434 GB, free: 12.54 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00426/1.32, allocations: 1.838 MB / 1.436 GB, free: 10.68 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.32, allocations: 0 / 1.436 GB, free: 10.68 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007521/1.32, allocations: 359.5 kB / 1.436 GB, free: 10.32 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005797/1.326, allocations: 1.248 MB / 1.438 GB, free: 9.113 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006501/1.333, allocations: 3.426 MB / 1.441 GB, free: 5.621 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/1.334, allocations: 1.545 MB / 1.443 GB, free: 4.043 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005517/1.335, allocations: 143.4 kB / 1.443 GB, free: 3.902 MB / 1.139 GB Notification: Performance of SimCode: time 8.01e-07/1.335, allocations: 0 / 1.443 GB, free: 3.902 MB / 1.139 GB Notification: Performance of Templates: time 0.06391/1.399, allocations: 47.15 MB / 1.489 GB, free: 4.945 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=480 -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