Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.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,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan",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.004335/0.004335, allocations: 99.41 kB / 15.73 MB, free: 6.008 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.00129/0.00129, allocations: 193 kB / 16.68 MB, free: 5.934 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.306/1.306, 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.542/2.542, allocations: 482.6 MB / 0.755 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 76.05 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2647, allocations: 162.3 MB / 1.242 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.8662/1.131, allocations: 312.8 MB / 1.547 GB, free: 26.76 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.0282/1.159, allocations: 29.37 MB / 1.576 GB, free: 26.73 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002783/1.162, allocations: 81.69 kB / 1.576 GB, free: 26.73 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.005704/1.168, allocations: 2.398 MB / 1.578 GB, free: 26.71 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.007201/1.175, allocations: 3.192 MB / 1.581 GB, free: 26.6 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005966/1.181, allocations: 2.764 MB / 1.584 GB, free: 26.54 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.009004/1.19, allocations: 7.339 MB / 1.591 GB, free: 26.54 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/1.192, allocations: 2.093 MB / 1.593 GB, free: 26.29 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004288/1.197, allocations: 2.527 MB / 1.596 GB, free: 26.27 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002847/1.2, allocations: 1.519 MB / 1.597 GB, free: 26.26 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0003443/1.2, allocations: 256.7 kB / 1.598 GB, free: 26.26 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006299/1.206, allocations: 3.6 MB / 1.601 GB, free: 26.23 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.000693/1.207, allocations: 0.8287 MB / 1.602 GB, free: 26.23 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001541/1.209, allocations: 1.401 MB / 1.603 GB, free: 26.21 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.006527/1.215, allocations: 5.465 MB / 1.609 GB, free: 25.62 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.215, allocations: 0.7188 kB / 1.609 GB, free: 25.62 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.643e-06/1.215, allocations: 0 / 1.609 GB, free: 25.62 MB / 1.264 GB Notification: Performance of Transformations before backend: time 4.385e-05/1.215, allocations: 2.406 kB / 1.609 GB, free: 25.62 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003934/1.219, allocations: 3.02 MB / 1.612 GB, free: 24.06 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/1.219, allocations: 11.91 kB / 1.612 GB, free: 24.05 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/1.219, allocations: 195.3 kB / 1.612 GB, free: 24.01 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005122/1.224, allocations: 0.9491 MB / 1.613 GB, free: 23.87 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007878/1.232, allocations: 5.771 MB / 1.618 GB, free: 23.29 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/1.232, allocations: 98.86 kB / 1.618 GB, free: 23.28 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/1.233, allocations: 134.2 kB / 1.619 GB, free: 23.28 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/1.235, allocations: 1.587 MB / 1.62 GB, free: 23.08 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/1.235, allocations: 4.969 kB / 1.62 GB, free: 23.08 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/1.235, allocations: 58.84 kB / 1.62 GB, free: 23.07 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/1.235, allocations: 49.16 kB / 1.62 GB, free: 23.07 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/1.238, allocations: 1.325 MB / 1.622 GB, free: 23.04 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.00767/1.246, allocations: 7.749 MB / 1.629 GB, free: 19.09 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/1.248, allocations: 0.6794 MB / 1.63 GB, free: 18.96 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005445/1.248, allocations: 256.1 kB / 1.63 GB, free: 18.95 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/1.248, allocations: 190.1 kB / 1.63 GB, free: 18.76 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/1.248, allocations: 34.06 kB / 1.63 GB, free: 18.72 MB / 1.264 GB Notification: Performance of pre-optimization done (n=35): time 2.304e-06/1.248, allocations: 2.094 kB / 1.63 GB, free: 18.72 MB / 1.264 GB Notification: Performance of matching and sorting (n=35): time 0.002324/1.251, allocations: 1.053 MB / 1.631 GB, free: 18.36 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/1.251, allocations: 57.38 kB / 1.631 GB, free: 18.29 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/1.253, allocations: 2.358 MB / 1.634 GB, free: 18.05 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/1.253, allocations: 35.86 kB / 1.634 GB, free: 18.02 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005823/1.254, allocations: 0.9786 MB / 1.635 GB, free: 17.74 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/1.254, allocations: 132.9 kB / 1.635 GB, free: 17.66 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/1.254, allocations: 257.8 kB / 1.635 GB, free: 17.62 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 5.595e-05/1.254, allocations: 346.7 kB / 1.635 GB, free: 17.32 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/1.255, allocations: 0.5161 MB / 1.636 GB, free: 17.3 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/1.256, allocations: 0.7984 MB / 1.637 GB, free: 16.97 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/1.258, allocations: 1.11 MB / 1.638 GB, free: 16.69 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.258, allocations: 2.688 kB / 1.638 GB, free: 16.69 MB / 1.264 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002652/1.261, allocations: 1.637 MB / 1.639 GB, free: 16.39 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.261, allocations: 7.75 kB / 1.639 GB, free: 16.39 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.261, allocations: 12.44 kB / 1.639 GB, free: 16.39 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000129/1.261, allocations: 42.06 kB / 1.639 GB, free: 16.38 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000996/1.262, allocations: 241.2 kB / 1.64 GB, free: 16.38 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000679/1.263, allocations: 1.578 MB / 1.641 GB, free: 14.88 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/1.264, allocations: 251.6 kB / 1.641 GB, free: 14.77 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.773e-05/1.264, allocations: 40.19 kB / 1.641 GB, free: 14.77 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001632/1.266, allocations: 1.015 MB / 1.642 GB, free: 14.68 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001023/1.267, allocations: 0.781 MB / 1.643 GB, free: 14.36 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001509/1.268, allocations: 1.109 MB / 1.644 GB, free: 14.05 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.697e-06/1.268, allocations: 3.938 kB / 1.644 GB, free: 14.05 MB / 1.264 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.002505/1.271, allocations: 1.607 MB / 1.646 GB, free: 13.76 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/1.271, allocations: 8.125 kB / 1.646 GB, free: 13.76 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.271, allocations: 8.188 kB / 1.646 GB, free: 13.76 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.2e-05/1.271, allocations: 36.19 kB / 1.646 GB, free: 13.75 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009568/1.272, allocations: 234.2 kB / 1.646 GB, free: 13.75 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006778/1.273, allocations: 1.57 MB / 1.648 GB, free: 12.25 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/1.274, allocations: 163 kB / 1.648 GB, free: 12.21 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.633e-05/1.274, allocations: 40.8 kB / 1.648 GB, free: 12.21 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002135/1.275, allocations: 241.4 kB / 1.648 GB, free: 12.02 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/1.275, allocations: 216.5 kB / 1.648 GB, free: 11.9 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/1.276, allocations: 0.7649 MB / 1.649 GB, free: 11.71 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/1.276, allocations: 2.812 kB / 1.649 GB, free: 11.71 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/1.276, allocations: 0 / 1.649 GB, free: 11.71 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.276, allocations: 4.469 kB / 1.649 GB, free: 11.71 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/1.279, allocations: 2.16 MB / 1.651 GB, free: 11.19 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/1.279, allocations: 5.359 kB / 1.651 GB, free: 11.19 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005315/1.28, allocations: 98.33 kB / 1.651 GB, free: 11.19 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.279e-05/1.28, allocations: 32.14 kB / 1.651 GB, free: 11.18 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/1.28, allocations: 10.38 kB / 1.651 GB, free: 11.18 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005713/1.28, allocations: 1.564 MB / 1.653 GB, free: 9.676 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.28, allocations: 9.5 kB / 1.653 GB, free: 9.672 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/1.282, allocations: 0.8996 MB / 1.654 GB, free: 9.234 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/1.282, allocations: 366.4 kB / 1.654 GB, free: 9.016 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/1.282, allocations: 12.59 kB / 1.654 GB, free: 9.012 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009023/1.283, allocations: 71.83 kB / 1.654 GB, free: 9.004 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/1.283, allocations: 25.14 kB / 1.654 GB, free: 9.004 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/1.283, allocations: 14.14 kB / 1.654 GB, free: 9.004 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001928/1.285, allocations: 1.639 MB / 1.656 GB, free: 8.855 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.61e-07/1.285, allocations: 0 / 1.656 GB, free: 8.855 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001884/1.287, allocations: 0.8915 MB / 1.657 GB, free: 8.762 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002056/1.289, allocations: 1.788 MB / 1.658 GB, free: 7.703 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003156/1.292, allocations: 1.807 MB / 1.66 GB, free: 6.953 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.292, allocations: 2.203 kB / 1.66 GB, free: 6.953 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006063/1.293, allocations: 361 kB / 1.66 GB, free: 6.762 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004168/1.297, allocations: 1.246 MB / 1.662 GB, free: 6.367 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/1.315, allocations: 14.75 MB / 1.676 GB, free: 15.4 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.316, allocations: 1.537 MB / 1.678 GB, free: 14.53 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001793/1.318, allocations: 478 kB / 1.678 GB, free: 14.39 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009963/1.319, allocations: 0.7948 MB / 1.679 GB, free: 13.77 MB / 1.279 GB Notification: Performance of SimCode: time 7.82e-07/1.319, allocations: 0 / 1.679 GB, free: 13.77 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.492/3.811, allocations: 56.21 MB / 1.734 GB, free: 11.07 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.7/38.51, allocations: 14.5 kB / 1.734 GB, free: 11.05 MB / 1.326 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches