Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001337/0.001337, allocations: 119.5 kB / 16.42 MB, free: 6.488 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.001423/0.001423, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.00149, allocations: 63.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.826/0.8275, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter floMac.com.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3329/1.16, allocations: 304.4 MB / 1.386 GB, free: 12.86 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03337/1.194, allocations: 25.62 MB / 1.411 GB, free: 3.164 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003587/1.197, allocations: 75.62 kB / 1.411 GB, free: 3.09 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004422/1.202, allocations: 1.461 MB / 1.412 GB, free: 1.621 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008239/1.21, allocations: 2.991 MB / 1.415 GB, free: 14.62 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006702/1.217, allocations: 2.666 MB / 1.418 GB, free: 11.96 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.006294/1.223, allocations: 4.343 MB / 1.422 GB, free: 7.602 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003056/1.226, allocations: 1.782 MB / 1.424 GB, free: 5.773 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005012/1.231, allocations: 2.309 MB / 1.426 GB, free: 3.457 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/1.234, allocations: 1.276 MB / 1.427 GB, free: 2.18 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005679/1.235, allocations: 207.9 kB / 1.428 GB, free: 1.977 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006137/1.241, allocations: 3.044 MB / 1.431 GB, free: 14.93 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0009178/1.242, allocations: 0.6193 MB / 1.431 GB, free: 14.3 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001994/1.244, allocations: 1.062 MB / 1.432 GB, free: 13.24 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.007675/1.251, allocations: 4.219 MB / 1.436 GB, free: 9.008 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.252, allocations: 11.88 kB / 1.436 GB, free: 8.996 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.262e-06/1.252, allocations: 0 / 1.436 GB, free: 8.996 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.828e-05/1.252, allocations: 0 / 1.436 GB, free: 8.996 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.004892/1.257, allocations: 2.292 MB / 1.439 GB, free: 6.637 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.257, allocations: 12.02 kB / 1.439 GB, free: 6.625 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004409/1.261, allocations: 0.6651 MB / 1.439 GB, free: 5.957 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004071/1.265, allocations: 2.041 MB / 1.441 GB, free: 3.859 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.361e-05/1.265, allocations: 90.16 kB / 1.441 GB, free: 3.77 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/1.265, allocations: 108 kB / 1.441 GB, free: 3.664 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002825/1.268, allocations: 1.444 MB / 1.443 GB, free: 2.082 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/1.268, allocations: 11.88 kB / 1.443 GB, free: 2.07 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/1.268, allocations: 48 kB / 1.443 GB, free: 2.023 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-05/1.268, allocations: 45.98 kB / 1.443 GB, free: 1.98 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/1.271, allocations: 1.101 MB / 1.444 GB, free: 0.8789 MB / 1.17 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.008644/1.28, allocations: 7.5 MB / 1.451 GB, free: 8.98 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/1.282, allocations: 477.3 kB / 1.452 GB, free: 8.488 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/1.282, allocations: 152.8 kB / 1.452 GB, free: 8.336 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/1.283, allocations: 194.2 kB / 1.452 GB, free: 8.109 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/1.283, allocations: 34.56 kB / 1.452 GB, free: 8.066 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 2.315e-06/1.283, allocations: 3.938 kB / 1.452 GB, free: 8.062 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.002023/1.285, allocations: 0.5868 MB / 1.453 GB, free: 7.469 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/1.285, allocations: 55.41 kB / 1.453 GB, free: 7.402 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/1.288, allocations: 1.752 MB / 1.455 GB, free: 5.605 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.721e-05/1.288, allocations: 29.7 kB / 1.455 GB, free: 5.57 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007671/1.288, allocations: 0.8522 MB / 1.455 GB, free: 4.711 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 9.061e-05/1.289, allocations: 75.02 kB / 1.455 GB, free: 4.637 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/1.289, allocations: 178.4 kB / 1.456 GB, free: 4.457 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.289, allocations: 334 kB / 1.456 GB, free: 4.125 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009115/1.29, allocations: 312.7 kB / 1.456 GB, free: 3.816 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/1.291, allocations: 0.7193 MB / 1.457 GB, free: 2.891 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/1.293, allocations: 0.9297 MB / 1.458 GB, free: 1.777 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/1.293, allocations: 4 kB / 1.458 GB, free: 1.773 MB / 1.186 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002563/1.295, allocations: 1.09 MB / 1.459 GB, free: 0.6758 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.295, allocations: 12 kB / 1.459 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/1.295, allocations: 19.94 kB / 1.459 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.099e-05/1.296, allocations: 28 kB / 1.459 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008185/1.296, allocations: 203.7 kB / 1.459 GB, free: 428 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.199e-05/1.296, allocations: 35.86 kB / 1.459 GB, free: 392 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/1.298, allocations: 199.2 kB / 1.459 GB, free: 192 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-05/1.298, allocations: 51.98 kB / 1.459 GB, free: 140 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001344/1.299, allocations: 0.6386 MB / 1.46 GB, free: 15.49 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009995/1.3, allocations: 0.6765 MB / 1.461 GB, free: 14.62 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001506/1.302, allocations: 0.8777 MB / 1.462 GB, free: 13.55 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.097e-06/1.302, allocations: 4 kB / 1.462 GB, free: 13.55 MB / 1.201 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.002366/1.304, allocations: 1.031 MB / 1.463 GB, free: 12.51 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.304, allocations: 15.94 kB / 1.463 GB, free: 12.5 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/1.304, allocations: 12 kB / 1.463 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/1.304, allocations: 20 kB / 1.463 GB, free: 12.46 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/1.305, allocations: 200 kB / 1.463 GB, free: 12.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-05/1.305, allocations: 31.86 kB / 1.463 GB, free: 12.24 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/1.307, allocations: 140 kB / 1.463 GB, free: 12.1 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.089e-05/1.307, allocations: 51.98 kB / 1.463 GB, free: 12.05 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (88): * Single equations (assignments): 87 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0002933/1.307, allocations: 231.9 kB / 1.463 GB, free: 11.82 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/1.307, allocations: 162 kB / 1.463 GB, free: 11.66 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/1.309, allocations: 479.5 kB / 1.464 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/1.309, allocations: 0 / 1.464 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.309, allocations: 0 / 1.464 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006283/1.31, allocations: 298.9 kB / 1.464 GB, free: 10.87 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/1.31, allocations: 4 kB / 1.464 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009853/1.311, allocations: 59.92 kB / 1.464 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/1.311, allocations: 23.88 kB / 1.464 GB, free: 10.78 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0013/1.312, allocations: 412.8 kB / 1.465 GB, free: 10.37 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001252/1.314, allocations: 0.6209 MB / 1.465 GB, free: 9.73 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004689/1.314, allocations: 143.8 kB / 1.465 GB, free: 9.59 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002062/1.316, allocations: 1.207 MB / 1.467 GB, free: 8.359 MB / 1.201 GB Notification: Performance of Backend: time 4.6e-07/1.316, allocations: 4 kB / 1.467 GB, free: 8.355 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004686/1.321, allocations: 1.544 MB / 1.468 GB, free: 6.816 MB / 1.201 GB Notification: Performance of SimCode: time 0.006859/1.328, allocations: 3.571 MB / 1.472 GB, free: 3.199 MB / 1.201 GB Notification: Performance of Templates: time 0.06133/1.389, allocations: 38.63 MB / 1.509 GB, free: 12.93 MB / 1.248 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches