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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005521/0.005521, allocations: 101.4 kB / 15.73 MB, free: 6.062 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.00215/0.00215, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.255/1.255, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.413/2.413, allocations: 482.6 MB / 0.7551 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 68.28 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2501, allocations: 162.3 MB / 1.242 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.2753/0.5254, allocations: 305 MB / 1.54 GB, free: 6.992 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.5531/1.079, allocations: 27.44 MB / 1.566 GB, free: 26.68 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/1.081, allocations: 80.25 kB / 1.567 GB, free: 26.68 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.004132/1.085, allocations: 2.235 MB / 1.569 GB, free: 26.68 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.005495/1.09, allocations: 3.067 MB / 1.572 GB, free: 26.63 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005043/1.096, allocations: 2.757 MB / 1.574 GB, free: 26.58 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.007271/1.103, allocations: 7.056 MB / 1.581 GB, free: 26.58 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/1.105, allocations: 1.828 MB / 1.583 GB, free: 26.36 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/1.108, allocations: 2.377 MB / 1.585 GB, free: 26.35 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/1.109, allocations: 1.342 MB / 1.587 GB, free: 26.34 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002503/1.11, allocations: 219.3 kB / 1.587 GB, free: 26.34 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004304/1.114, allocations: 3.211 MB / 1.59 GB, free: 26.31 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004784/1.114, allocations: 0.7615 MB / 1.591 GB, free: 26.31 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0009235/1.115, allocations: 1.266 MB / 1.592 GB, free: 26.31 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004034/1.119, allocations: 4.962 MB / 1.597 GB, free: 25.93 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/1.119, allocations: 1.125 kB / 1.597 GB, free: 25.93 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.122e-06/1.119, allocations: 0 / 1.597 GB, free: 25.93 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.946e-05/1.12, allocations: 0 / 1.597 GB, free: 25.93 MB / 1.264 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.00297/1.122, allocations: 2.821 MB / 1.6 GB, free: 24.43 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/1.123, allocations: 10.41 kB / 1.6 GB, free: 24.43 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001486/1.123, allocations: 164.1 kB / 1.6 GB, free: 24.39 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003491/1.126, allocations: 0.7305 MB / 1.601 GB, free: 24.26 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006636/1.133, allocations: 5.665 MB / 1.606 GB, free: 23.7 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/1.133, allocations: 87.38 kB / 1.606 GB, free: 23.7 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/1.133, allocations: 112.5 kB / 1.606 GB, free: 23.7 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/1.135, allocations: 1.401 MB / 1.608 GB, free: 23.33 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/1.135, allocations: 6.312 kB / 1.608 GB, free: 23.33 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.145e-05/1.135, allocations: 52.22 kB / 1.608 GB, free: 23.33 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/1.135, allocations: 42.2 kB / 1.608 GB, free: 23.33 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/1.137, allocations: 0.9727 MB / 1.609 GB, free: 23.32 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.00512/1.142, allocations: 7.81 MB / 1.616 GB, free: 18.6 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006836/1.143, allocations: 366.9 kB / 1.617 GB, free: 18.48 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/1.143, allocations: 119.5 kB / 1.617 GB, free: 18.47 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/1.143, allocations: 184 kB / 1.617 GB, free: 18.29 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/1.143, allocations: 47.75 kB / 1.617 GB, free: 18.24 MB / 1.264 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/1.143, allocations: 3.938 kB / 1.617 GB, free: 18.23 MB / 1.264 GB Notification: Performance of matching and sorting (n=18): time 0.001101/1.144, allocations: 0.5355 MB / 1.617 GB, free: 18.08 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.509e-05/1.144, allocations: 53.72 kB / 1.618 GB, free: 18.02 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/1.146, allocations: 2.28 MB / 1.62 GB, free: 17.76 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/1.146, allocations: 30.36 kB / 1.62 GB, free: 17.73 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005384/1.147, allocations: 0.9923 MB / 1.621 GB, free: 17.4 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/1.147, allocations: 79 kB / 1.621 GB, free: 17.36 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/1.147, allocations: 287.8 kB / 1.621 GB, free: 17.32 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 5.913e-05/1.147, allocations: 353.8 kB / 1.621 GB, free: 17.02 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007056/1.148, allocations: 453.7 kB / 1.622 GB, free: 17 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000827/1.149, allocations: 0.8998 MB / 1.623 GB, free: 16.43 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/1.15, allocations: 1.21 MB / 1.624 GB, free: 15.89 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.15, allocations: 6.531 kB / 1.624 GB, free: 15.88 MB / 1.264 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001965/1.152, allocations: 1.517 MB / 1.625 GB, free: 15.71 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.152, allocations: 11.47 kB / 1.625 GB, free: 15.71 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.152, allocations: 12.94 kB / 1.625 GB, free: 15.71 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.152, allocations: 22.19 kB / 1.625 GB, free: 15.71 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/1.153, allocations: 244.4 kB / 1.626 GB, free: 15.7 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/1.153, allocations: 34.05 kB / 1.626 GB, free: 15.7 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009605/1.154, allocations: 212.1 kB / 1.626 GB, free: 15.6 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/1.154, allocations: 56.06 kB / 1.626 GB, free: 15.6 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00106/1.155, allocations: 0.9312 MB / 1.627 GB, free: 15.51 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007595/1.156, allocations: 0.8849 MB / 1.628 GB, free: 14.95 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001097/1.157, allocations: 1.203 MB / 1.629 GB, free: 14.39 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.999e-06/1.157, allocations: 4.344 kB / 1.629 GB, free: 14.39 MB / 1.264 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.001841/1.159, allocations: 1.498 MB / 1.63 GB, free: 14.22 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.159, allocations: 11.03 kB / 1.63 GB, free: 14.22 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.159, allocations: 13.09 kB / 1.63 GB, free: 14.22 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/1.159, allocations: 25.81 kB / 1.63 GB, free: 14.21 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/1.159, allocations: 240.2 kB / 1.631 GB, free: 14.21 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/1.159, allocations: 32.39 kB / 1.631 GB, free: 14.21 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008986/1.16, allocations: 141.6 kB / 1.631 GB, free: 14.17 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/1.16, allocations: 46.97 kB / 1.631 GB, free: 14.17 MB / 1.264 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.0001128/1.16, allocations: 248.3 kB / 1.631 GB, free: 13.98 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/1.161, allocations: 209.4 kB / 1.631 GB, free: 13.86 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/1.161, allocations: 171.5 kB / 1.631 GB, free: 13.83 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/1.161, allocations: 6.031 kB / 1.631 GB, free: 13.83 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.161, allocations: 0 / 1.631 GB, free: 13.83 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/1.161, allocations: 2.578 kB / 1.632 GB, free: 13.83 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/1.163, allocations: 1.874 MB / 1.633 GB, free: 13.26 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/1.163, allocations: 2.344 kB / 1.633 GB, free: 13.26 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/1.163, allocations: 48.36 kB / 1.633 GB, free: 13.26 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/1.163, allocations: 7.906 kB / 1.633 GB, free: 13.26 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/1.163, allocations: 14.42 kB / 1.633 GB, free: 13.26 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/1.163, allocations: 8.406 kB / 1.633 GB, free: 13.26 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.163, allocations: 9.531 kB / 1.633 GB, free: 13.26 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000696/1.164, allocations: 0.5766 MB / 1.634 GB, free: 12.92 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/1.164, allocations: 334.1 kB / 1.634 GB, free: 12.71 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/1.164, allocations: 14.31 kB / 1.634 GB, free: 12.71 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006711/1.165, allocations: 49 kB / 1.634 GB, free: 12.71 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/1.165, allocations: 26.69 kB / 1.634 GB, free: 12.7 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/1.165, allocations: 11.61 kB / 1.634 GB, free: 12.7 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001554/1.167, allocations: 1.547 MB / 1.636 GB, free: 12.55 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.7e-07/1.167, allocations: 0 / 1.636 GB, free: 12.55 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001518/1.168, allocations: 0.8176 MB / 1.637 GB, free: 12.48 MB / 1.264 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.001373/1.17, allocations: 1.472 MB / 1.638 GB, free: 11.55 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001956/1.172, allocations: 1.435 MB / 1.64 GB, free: 11.53 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.172, allocations: 2.938 kB / 1.64 GB, free: 11.53 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002721/1.172, allocations: 122.9 kB / 1.64 GB, free: 11.52 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/1.175, allocations: 1.079 MB / 1.641 GB, free: 11.32 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/1.189, allocations: 13.73 MB / 1.654 GB, free: 7.332 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007201/1.19, allocations: 1.483 MB / 1.656 GB, free: 6.586 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001216/1.191, allocations: 453.3 kB / 1.656 GB, free: 6.469 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006476/1.191, allocations: 0.724 MB / 1.657 GB, free: 6.461 MB / 1.264 GB Notification: Performance of SimCode: time 2.61e-07/1.191, allocations: 0 / 1.657 GB, free: 6.461 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 19.61/20.8, allocations: 51.85 MB / 1.707 GB, free: 1.203 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/35.53, allocations: 6.031 kB / 1.707 GB, free: 1.199 MB / 1.295 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > 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