Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_10_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_10_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.001476/0.001476, allocations: 104.9 kB / 16.4 MB, free: 5.977 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.001632/0.001632, allocations: 188.8 kB / 17.34 MB, free: 5.586 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 / 241 MB, free: 15.09 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.444/2.444, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 71.89 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8775/0.879, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3298/1.209, allocations: 304.9 MB / 1.465 GB, free: 1.891 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03968/1.249, allocations: 27.46 MB / 1.492 GB, free: 6.344 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003791/1.252, allocations: 75.62 kB / 1.492 GB, free: 6.27 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006893/1.259, allocations: 2.262 MB / 1.494 GB, free: 4 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.009148/1.268, allocations: 3.17 MB / 1.497 GB, free: 0.8164 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.007842/1.276, allocations: 2.791 MB / 1.5 GB, free: 14.03 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01171/1.288, allocations: 7.272 MB / 1.507 GB, free: 6.746 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003643/1.292, allocations: 1.818 MB / 1.509 GB, free: 4.887 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005512/1.297, allocations: 2.312 MB / 1.511 GB, free: 2.566 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003261/1.301, allocations: 1.34 MB / 1.512 GB, free: 1.227 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0007385/1.301, allocations: 212 kB / 1.513 GB, free: 1.02 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006986/1.308, allocations: 3.231 MB / 1.516 GB, free: 13.78 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001274/1.31, allocations: 0.7673 MB / 1.516 GB, free: 13.01 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002733/1.312, allocations: 1.252 MB / 1.518 GB, free: 11.75 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.009195/1.322, allocations: 4.928 MB / 1.523 GB, free: 6.812 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.322, allocations: 0 / 1.523 GB, free: 6.812 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.403e-06/1.322, allocations: 0 / 1.523 GB, free: 6.812 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001234/1.322, allocations: 0 / 1.523 GB, free: 6.812 MB / 1.248 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.00681/1.329, allocations: 2.735 MB / 1.525 GB, free: 4.004 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.329, allocations: 8.922 kB / 1.525 GB, free: 3.996 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004778/1.333, allocations: 0.7192 MB / 1.526 GB, free: 3.273 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/1.344, allocations: 5.636 MB / 1.531 GB, free: 13.58 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/1.344, allocations: 86.19 kB / 1.531 GB, free: 13.5 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/1.345, allocations: 112 kB / 1.532 GB, free: 13.39 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/1.348, allocations: 1.402 MB / 1.533 GB, free: 11.84 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/1.348, allocations: 7.938 kB / 1.533 GB, free: 11.84 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/1.348, allocations: 55.94 kB / 1.533 GB, free: 11.78 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.075e-05/1.348, allocations: 41.98 kB / 1.533 GB, free: 11.74 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/1.35, allocations: 0.9756 MB / 1.534 GB, free: 10.76 MB / 1.264 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.009588/1.36, allocations: 7.653 MB / 1.541 GB, free: 2.699 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008937/1.361, allocations: 371.7 kB / 1.542 GB, free: 2.309 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/1.361, allocations: 120.7 kB / 1.542 GB, free: 2.188 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003717/1.362, allocations: 190.2 kB / 1.542 GB, free: 1.965 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/1.362, allocations: 38.5 kB / 1.542 GB, free: 1.918 MB / 1.264 GB Notification: Performance of pre-optimization done (n=18): time 2.515e-06/1.362, allocations: 3.938 kB / 1.542 GB, free: 1.914 MB / 1.264 GB Notification: Performance of matching and sorting (n=18): time 0.001679/1.363, allocations: 0.5224 MB / 1.543 GB, free: 1.383 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/1.363, allocations: 55.41 kB / 1.543 GB, free: 1.316 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003721/1.367, allocations: 2.28 MB / 1.545 GB, free: 15.02 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-05/1.367, allocations: 33.7 kB / 1.545 GB, free: 14.98 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008855/1.368, allocations: 0.9784 MB / 1.546 GB, free: 13.98 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 8.41e-05/1.368, allocations: 79.09 kB / 1.546 GB, free: 13.91 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004015/1.369, allocations: 282.2 kB / 1.546 GB, free: 13.62 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.369, allocations: 353.9 kB / 1.547 GB, free: 13.27 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008917/1.37, allocations: 445 kB / 1.547 GB, free: 12.83 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/1.371, allocations: 0.9036 MB / 1.548 GB, free: 11.72 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/1.373, allocations: 1.212 MB / 1.549 GB, free: 10.32 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/1.373, allocations: 4 kB / 1.549 GB, free: 10.32 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00289/1.376, allocations: 1.509 MB / 1.551 GB, free: 8.801 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/1.376, allocations: 13.72 kB / 1.551 GB, free: 8.789 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/1.376, allocations: 12 kB / 1.551 GB, free: 8.777 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.459e-05/1.376, allocations: 20 kB / 1.551 GB, free: 8.758 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008843/1.377, allocations: 247.7 kB / 1.551 GB, free: 8.516 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.383e-05/1.377, allocations: 31.92 kB / 1.551 GB, free: 8.484 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/1.378, allocations: 210.7 kB / 1.551 GB, free: 8.277 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/1.378, allocations: 59.98 kB / 1.551 GB, free: 8.219 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001561/1.38, allocations: 0.9239 MB / 1.552 GB, free: 7.289 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00108/1.381, allocations: 0.8958 MB / 1.553 GB, free: 6.184 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001618/1.383, allocations: 1.199 MB / 1.554 GB, free: 4.789 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.178e-05/1.383, allocations: 4 kB / 1.554 GB, free: 4.785 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.00258/1.385, allocations: 1.474 MB / 1.556 GB, free: 3.305 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.385, allocations: 16.03 kB / 1.556 GB, free: 3.289 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/1.385, allocations: 12 kB / 1.556 GB, free: 3.277 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/1.385, allocations: 20 kB / 1.556 GB, free: 3.258 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000843/1.386, allocations: 243.6 kB / 1.556 GB, free: 3.02 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.954e-05/1.386, allocations: 27.92 kB / 1.556 GB, free: 2.992 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/1.388, allocations: 135.3 kB / 1.556 GB, free: 2.859 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.939e-05/1.388, allocations: 55.94 kB / 1.556 GB, free: 2.805 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (122): * Single equations (assignments): 120 * 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.0002728/1.388, allocations: 251.8 kB / 1.556 GB, free: 2.551 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003638/1.388, allocations: 197.5 kB / 1.556 GB, free: 2.355 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/1.389, allocations: 172 kB / 1.557 GB, free: 2.184 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.389, allocations: 0 / 1.557 GB, free: 2.184 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.389, allocations: 0 / 1.557 GB, free: 2.184 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.389, allocations: 3.938 kB / 1.557 GB, free: 2.18 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/1.392, allocations: 1.866 MB / 1.558 GB, free: 204 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.392, allocations: 8.047 kB / 1.558 GB, free: 196 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/1.393, allocations: 47.97 kB / 1.559 GB, free: 148 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.393, allocations: 7.938 kB / 1.559 GB, free: 140 kB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/1.393, allocations: 12 kB / 1.559 GB, free: 128 kB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/1.393, allocations: 11.92 kB / 1.559 GB, free: 116 kB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.393, allocations: 7.938 kB / 1.559 GB, free: 108 kB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6987/2.091, allocations: 0.5661 MB / 1.559 GB, free: 388.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006527/2.092, allocations: 324.1 kB / 1.559 GB, free: 388.5 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/2.092, allocations: 12.22 kB / 1.559 GB, free: 388.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008437/2.093, allocations: 50.59 kB / 1.559 GB, free: 388.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/2.093, allocations: 27.28 kB / 1.559 GB, free: 388.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/2.093, allocations: 14.17 kB / 1.56 GB, free: 388.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003036/2.096, allocations: 1.544 MB / 1.561 GB, free: 388.1 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.11e-07/2.096, allocations: 0.5 kB / 1.561 GB, free: 388.1 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002893/2.099, allocations: 0.8167 MB / 1.562 GB, free: 388 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * 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.0008303/2.1, allocations: 452.3 kB / 1.562 GB, free: 387.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002619/2.103, allocations: 1.439 MB / 1.564 GB, free: 387.4 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/2.103, allocations: 3.969 kB / 1.564 GB, free: 387.4 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0003118/2.103, allocations: 123.8 kB / 1.564 GB, free: 387.4 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/2.107, allocations: 1.08 MB / 1.565 GB, free: 387.2 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/2.111, allocations: 3.125 MB / 1.568 GB, free: 385.5 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008927/2.112, allocations: 1.485 MB / 1.569 GB, free: 384.6 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/2.112, allocations: 129.4 kB / 1.569 GB, free: 384.6 MB / 1.279 GB Notification: Performance of SimCode: time 5.31e-07/2.112, allocations: 0 / 1.569 GB, free: 384.6 MB / 1.279 GB Notification: Performance of Templates: time 0.03846/2.15, allocations: 33.52 MB / 1.602 GB, free: 355.4 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches