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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001486/0.001486, allocations: 106.5 kB / 16.27 MB, free: 6.402 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.001471/0.001471, allocations: 191.2 kB / 17.2 MB, free: 5.938 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.65/2.65, allocations: 482.4 MB / 0.7553 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 68.52 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7879/0.7898, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3576/1.147, allocations: 304.9 MB / 1.381 GB, free: 12.98 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03696/1.184, allocations: 27.48 MB / 1.408 GB, free: 1.434 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003849/1.188, allocations: 79.62 kB / 1.408 GB, free: 1.355 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.01017/1.199, allocations: 4.779 MB / 1.412 GB, free: 12.56 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008393/1.207, allocations: 2.893 MB / 1.415 GB, free: 9.66 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.006903/1.214, allocations: 2.615 MB / 1.418 GB, free: 7.047 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01196/1.226, allocations: 6.658 MB / 1.424 GB, free: 388 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003137/1.229, allocations: 1.783 MB / 1.426 GB, free: 14.55 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005423/1.235, allocations: 2.332 MB / 1.428 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003118/1.238, allocations: 1.285 MB / 1.429 GB, free: 10.92 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004721/1.238, allocations: 207.9 kB / 1.43 GB, free: 10.72 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00684/1.245, allocations: 3.185 MB / 1.433 GB, free: 7.527 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001204/1.246, allocations: 0.7517 MB / 1.433 GB, free: 6.773 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002064/1.248, allocations: 1.248 MB / 1.435 GB, free: 5.52 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.009033/1.257, allocations: 4.826 MB / 1.439 GB, free: 0.6797 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/1.257, allocations: 4 kB / 1.439 GB, free: 0.6758 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.214e-06/1.257, allocations: 0 / 1.439 GB, free: 0.6758 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.192e-05/1.258, allocations: 0 / 1.439 GB, free: 0.6758 MB / 1.154 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.005193/1.263, allocations: 2.707 MB / 1.442 GB, free: 13.89 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.263, allocations: 12.03 kB / 1.442 GB, free: 13.88 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004315/1.267, allocations: 0.7192 MB / 1.443 GB, free: 13.16 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/1.277, allocations: 5.523 MB / 1.448 GB, free: 7.578 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003935/1.278, allocations: 146.1 kB / 1.448 GB, free: 7.434 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/1.278, allocations: 112 kB / 1.448 GB, free: 7.324 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/1.281, allocations: 1.406 MB / 1.45 GB, free: 5.777 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/1.281, allocations: 4 kB / 1.45 GB, free: 5.773 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/1.281, allocations: 51.94 kB / 1.45 GB, free: 5.723 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.977e-05/1.281, allocations: 42 kB / 1.45 GB, free: 5.684 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/1.283, allocations: 0.9795 MB / 1.451 GB, free: 4.703 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.009809/1.293, allocations: 7.84 MB / 1.458 GB, free: 12.42 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009345/1.294, allocations: 363.8 kB / 1.459 GB, free: 12.04 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/1.294, allocations: 116.8 kB / 1.459 GB, free: 11.92 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003115/1.295, allocations: 194.2 kB / 1.459 GB, free: 11.7 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/1.295, allocations: 30.56 kB / 1.459 GB, free: 11.66 MB / 1.186 GB Notification: Performance of pre-optimization done (n=18): time 2.705e-06/1.295, allocations: 0 / 1.459 GB, free: 11.66 MB / 1.186 GB Notification: Performance of matching and sorting (n=18): time 0.001635/1.296, allocations: 0.5322 MB / 1.46 GB, free: 11.12 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/1.296, allocations: 51.41 kB / 1.46 GB, free: 11.05 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003117/1.3, allocations: 2.287 MB / 1.462 GB, free: 8.746 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.954e-05/1.3, allocations: 29.7 kB / 1.462 GB, free: 8.711 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009091/1.301, allocations: 0.9785 MB / 1.463 GB, free: 7.723 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.764e-05/1.301, allocations: 75.03 kB / 1.463 GB, free: 7.648 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003932/1.301, allocations: 286.2 kB / 1.463 GB, free: 7.363 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.301, allocations: 349.9 kB / 1.464 GB, free: 7.016 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009519/1.302, allocations: 464.9 kB / 1.464 GB, free: 6.555 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/1.304, allocations: 0.8996 MB / 1.465 GB, free: 5.449 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/1.305, allocations: 1.223 MB / 1.466 GB, free: 4.031 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/1.305, allocations: 8 kB / 1.466 GB, free: 4.023 MB / 1.186 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00296/1.308, allocations: 1.511 MB / 1.468 GB, free: 2.504 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/1.308, allocations: 8 kB / 1.468 GB, free: 2.496 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/1.308, allocations: 19.94 kB / 1.468 GB, free: 2.477 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.924e-05/1.309, allocations: 20.75 kB / 1.468 GB, free: 2.457 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009009/1.309, allocations: 247.6 kB / 1.468 GB, free: 2.215 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.792e-05/1.309, allocations: 35.8 kB / 1.468 GB, free: 2.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.311, allocations: 223.1 kB / 1.468 GB, free: 1.961 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.919e-05/1.311, allocations: 55.98 kB / 1.468 GB, free: 1.906 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001708/1.313, allocations: 0.9317 MB / 1.469 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001225/1.314, allocations: 0.8919 MB / 1.47 GB, free: 15.87 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001718/1.316, allocations: 1.205 MB / 1.471 GB, free: 14.47 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.963e-06/1.316, allocations: 4 kB / 1.471 GB, free: 14.47 MB / 1.201 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002759/1.319, allocations: 1.493 MB / 1.473 GB, free: 12.96 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.319, allocations: 12 kB / 1.473 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/1.319, allocations: 12 kB / 1.473 GB, free: 12.94 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/1.319, allocations: 20 kB / 1.473 GB, free: 12.92 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008428/1.319, allocations: 243.9 kB / 1.473 GB, free: 12.68 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.644e-05/1.319, allocations: 31.86 kB / 1.473 GB, free: 12.65 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/1.321, allocations: 147.7 kB / 1.473 GB, free: 12.51 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.219e-05/1.321, allocations: 55.98 kB / 1.473 GB, free: 12.45 MB / 1.201 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.0003114/1.321, allocations: 251.1 kB / 1.473 GB, free: 12.2 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/1.321, allocations: 201.4 kB / 1.474 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/1.322, allocations: 171.9 kB / 1.474 GB, free: 11.83 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/1.322, allocations: 4 kB / 1.474 GB, free: 11.83 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.322, allocations: 3.938 kB / 1.474 GB, free: 11.82 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.322, allocations: 0 / 1.474 GB, free: 11.82 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/1.325, allocations: 1.858 MB / 1.476 GB, free: 9.852 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.325, allocations: 8 kB / 1.476 GB, free: 9.844 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/1.325, allocations: 52.31 kB / 1.476 GB, free: 9.793 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/1.326, allocations: 4 kB / 1.476 GB, free: 9.789 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/1.326, allocations: 15.98 kB / 1.476 GB, free: 9.773 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/1.326, allocations: 11.88 kB / 1.476 GB, free: 9.762 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.326, allocations: 4 kB / 1.476 GB, free: 9.758 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/1.327, allocations: 0.5708 MB / 1.476 GB, free: 9.113 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/1.327, allocations: 326.3 kB / 1.476 GB, free: 8.773 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/1.327, allocations: 12 kB / 1.477 GB, free: 8.762 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007837/1.328, allocations: 55.89 kB / 1.477 GB, free: 8.707 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/1.328, allocations: 23.92 kB / 1.477 GB, free: 8.684 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/1.328, allocations: 15.92 kB / 1.477 GB, free: 8.668 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002376/1.331, allocations: 1.551 MB / 1.478 GB, free: 7.105 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.6e-07/1.331, allocations: 0 / 1.478 GB, free: 7.105 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002273/1.333, allocations: 0.8153 MB / 1.479 GB, free: 6.289 MB / 1.201 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.0008941/1.334, allocations: 446.7 kB / 1.479 GB, free: 5.844 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003004/1.337, allocations: 1.446 MB / 1.481 GB, free: 4.406 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.337, allocations: 0 / 1.481 GB, free: 4.406 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003477/1.337, allocations: 128.2 kB / 1.481 GB, free: 4.281 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004308/1.341, allocations: 1.077 MB / 1.482 GB, free: 3.238 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005181/1.347, allocations: 3.172 MB / 1.485 GB, free: 15.97 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/1.348, allocations: 1.481 MB / 1.486 GB, free: 14.46 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/1.348, allocations: 127.4 kB / 1.487 GB, free: 14.33 MB / 1.217 GB Notification: Performance of SimCode: time 7.42e-07/1.348, allocations: 0 / 1.487 GB, free: 14.33 MB / 1.217 GB Notification: Performance of Templates: time 0.0576/1.406, allocations: 33.23 MB / 1.519 GB, free: 13.27 MB / 1.248 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=400 -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