Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001501/0.001501, allocations: 108.7 kB / 16.41 MB, free: 6.031 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.001974/0.001974, allocations: 183.5 kB / 17.34 MB, free: 5.633 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.592/1.592, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.606/2.606, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.88 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9119/0.9133, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3412/1.255, allocations: 304.9 MB / 1.506 GB, free: 11.65 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.04188/1.297, allocations: 27.44 MB / 1.533 GB, free: 124 kB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00421/1.301, allocations: 83.56 kB / 1.533 GB, free: 40 kB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.007382/1.308, allocations: 2.225 MB / 1.535 GB, free: 13.8 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.009513/1.318, allocations: 3.064 MB / 1.538 GB, free: 10.73 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.007983/1.326, allocations: 2.754 MB / 1.541 GB, free: 7.98 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01204/1.338, allocations: 7.252 MB / 1.548 GB, free: 0.7148 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004726/1.343, allocations: 1.818 MB / 1.55 GB, free: 14.85 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00717/1.35, allocations: 2.277 MB / 1.552 GB, free: 12.57 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004053/1.354, allocations: 1.356 MB / 1.553 GB, free: 11.21 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0008584/1.355, allocations: 212 kB / 1.553 GB, free: 11 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007501/1.362, allocations: 3.216 MB / 1.557 GB, free: 7.781 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001382/1.364, allocations: 0.7556 MB / 1.557 GB, free: 7.023 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002847/1.367, allocations: 1.264 MB / 1.559 GB, free: 5.754 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01048/1.377, allocations: 4.916 MB / 1.563 GB, free: 0.8242 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/1.377, allocations: 0 / 1.563 GB, free: 0.8242 MB / 1.279 GB Notification: Performance of FrontEnd: time 3.246e-06/1.377, allocations: 3.984 kB / 1.563 GB, free: 0.8203 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001283/1.377, allocations: 4 kB / 1.563 GB, free: 0.8164 MB / 1.279 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.8526/2.23, allocations: 2.731 MB / 1.566 GB, free: 355.9 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/2.23, allocations: 13.64 kB / 1.566 GB, free: 355.9 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005459/2.235, allocations: 0.7169 MB / 1.567 GB, free: 355.8 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/2.248, allocations: 5.637 MB / 1.572 GB, free: 353.6 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/2.248, allocations: 84.84 kB / 1.572 GB, free: 353.6 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/2.248, allocations: 111.9 kB / 1.572 GB, free: 353.5 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/2.251, allocations: 1.402 MB / 1.574 GB, free: 352.7 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/2.251, allocations: 5.5 kB / 1.574 GB, free: 352.7 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/2.251, allocations: 49.12 kB / 1.574 GB, free: 352.7 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.175e-05/2.252, allocations: 40.97 kB / 1.574 GB, free: 352.7 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/2.254, allocations: 0.9742 MB / 1.575 GB, free: 352.3 MB / 1.279 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.009252/2.263, allocations: 7.673 MB / 1.582 GB, free: 346.4 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008812/2.264, allocations: 370.9 kB / 1.583 GB, free: 346.2 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/2.264, allocations: 118 kB / 1.583 GB, free: 346.2 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002581/2.265, allocations: 188 kB / 1.583 GB, free: 346 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/2.265, allocations: 37.19 kB / 1.583 GB, free: 345.9 MB / 1.279 GB Notification: Performance of pre-optimization done (n=18): time 2.956e-06/2.265, allocations: 0 / 1.583 GB, free: 345.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=18): time 0.001695/2.266, allocations: 0.5177 MB / 1.584 GB, free: 345.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/2.266, allocations: 68.84 kB / 1.584 GB, free: 345.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003/2.269, allocations: 2.275 MB / 1.586 GB, free: 344.4 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.856e-05/2.27, allocations: 33.67 kB / 1.586 GB, free: 344.4 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006042/2.27, allocations: 0.9805 MB / 1.587 GB, free: 343.5 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/2.27, allocations: 74.81 kB / 1.587 GB, free: 343.4 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003151/2.271, allocations: 284.7 kB / 1.587 GB, free: 343.3 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 7.873e-05/2.271, allocations: 353.8 kB / 1.588 GB, free: 342.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000777/2.271, allocations: 448.7 kB / 1.588 GB, free: 342.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009253/2.272, allocations: 0.897 MB / 1.589 GB, free: 341.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/2.274, allocations: 1.213 MB / 1.59 GB, free: 340.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/2.274, allocations: 3.969 kB / 1.59 GB, free: 340.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002401/2.276, allocations: 1.507 MB / 1.591 GB, free: 340.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/2.276, allocations: 11.91 kB / 1.591 GB, free: 340.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/2.276, allocations: 11.75 kB / 1.591 GB, free: 340.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.334e-05/2.276, allocations: 19.66 kB / 1.592 GB, free: 340.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/2.277, allocations: 253.5 kB / 1.592 GB, free: 340.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/2.277, allocations: 31.64 kB / 1.592 GB, free: 340.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/2.279, allocations: 217 kB / 1.592 GB, free: 339.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.717e-05/2.279, allocations: 51.14 kB / 1.592 GB, free: 339.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001412/2.28, allocations: 0.9285 MB / 1.593 GB, free: 339.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008333/2.281, allocations: 0.8889 MB / 1.594 GB, free: 338.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001192/2.282, allocations: 1.198 MB / 1.595 GB, free: 336.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.651e-06/2.282, allocations: 4 kB / 1.595 GB, free: 336.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.00216/2.284, allocations: 1.485 MB / 1.596 GB, free: 335.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/2.284, allocations: 8 kB / 1.596 GB, free: 335.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/2.284, allocations: 23.92 kB / 1.596 GB, free: 335.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/2.284, allocations: 20 kB / 1.596 GB, free: 335.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007354/2.285, allocations: 244 kB / 1.597 GB, free: 335.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/2.285, allocations: 27.88 kB / 1.597 GB, free: 335.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/2.287, allocations: 131.3 kB / 1.597 GB, free: 334.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.354e-05/2.287, allocations: 59.92 kB / 1.597 GB, free: 334.9 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.0002439/2.287, allocations: 239.8 kB / 1.597 GB, free: 334.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/2.287, allocations: 205.2 kB / 1.597 GB, free: 334.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/2.288, allocations: 168 kB / 1.598 GB, free: 334.3 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/2.288, allocations: 8 kB / 1.598 GB, free: 334.3 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/2.288, allocations: 0 / 1.598 GB, free: 334.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/2.288, allocations: 3.938 kB / 1.598 GB, free: 334.3 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002566/2.29, allocations: 1.866 MB / 1.599 GB, free: 332.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/2.29, allocations: 4 kB / 1.599 GB, free: 332.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/2.29, allocations: 47.91 kB / 1.599 GB, free: 332.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/2.29, allocations: 11.98 kB / 1.599 GB, free: 332.2 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/2.291, allocations: 4 kB / 1.599 GB, free: 332.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/2.291, allocations: 4 kB / 1.599 GB, free: 332.2 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/2.291, allocations: 20.12 kB / 1.599 GB, free: 332.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008356/2.291, allocations: 0.5686 MB / 1.6 GB, free: 331.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/2.292, allocations: 322.4 kB / 1.6 GB, free: 331.2 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/2.292, allocations: 12 kB / 1.6 GB, free: 331.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007746/2.293, allocations: 51.95 kB / 1.6 GB, free: 331.2 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/2.293, allocations: 23.84 kB / 1.6 GB, free: 331.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/2.293, allocations: 12 kB / 1.6 GB, free: 331.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001764/2.295, allocations: 1.555 MB / 1.602 GB, free: 329.6 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.31e-07/2.295, allocations: 0 / 1.602 GB, free: 329.6 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002093/2.297, allocations: 0.8075 MB / 1.603 GB, free: 328.8 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.0007638/2.298, allocations: 452.9 kB / 1.603 GB, free: 328.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00246/2.3, allocations: 1.438 MB / 1.605 GB, free: 326.9 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/2.3, allocations: 0 / 1.605 GB, free: 326.9 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0003018/2.3, allocations: 121.8 kB / 1.605 GB, free: 326.8 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003815/2.304, allocations: 1.088 MB / 1.606 GB, free: 325.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/2.308, allocations: 3.127 MB / 1.609 GB, free: 322.6 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/2.309, allocations: 1.477 MB / 1.61 GB, free: 321.1 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/2.309, allocations: 135.4 kB / 1.61 GB, free: 320.9 MB / 1.279 GB Notification: Performance of SimCode: time 6.31e-07/2.309, allocations: 0 / 1.61 GB, free: 320.9 MB / 1.279 GB Notification: Performance of Templates: time 0.04053/2.35, allocations: 33.51 MB / 1.643 GB, free: 287.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches