Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_11_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.004913/0.004918, allocations: 99.33 kB / 15.73 MB, free: 6.012 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.001392/0.001392, allocations: 192.8 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.39/2.39, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 59.91 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6373/0.639, allocations: 159.1 MB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3037/0.9427, allocations: 304.9 MB / 1.518 GB, free: 56 kB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03272/0.9755, allocations: 27.46 MB / 1.545 GB, free: 4.52 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.9776, allocations: 83.62 kB / 1.545 GB, free: 4.438 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.005013/0.9826, allocations: 2.218 MB / 1.547 GB, free: 2.211 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.006506/0.9891, allocations: 3.064 MB / 1.55 GB, free: 15.13 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.005478/0.9946, allocations: 2.75 MB / 1.553 GB, free: 12.39 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.009157/1.004, allocations: 7.259 MB / 1.56 GB, free: 5.109 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/1.006, allocations: 1.826 MB / 1.561 GB, free: 3.234 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003557/1.01, allocations: 2.254 MB / 1.564 GB, free: 0.9727 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.566/1.576, allocations: 1.351 MB / 1.565 GB, free: 35.59 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0007117/1.576, allocations: 215.5 kB / 1.565 GB, free: 35.59 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006355/1.583, allocations: 3.213 MB / 1.568 GB, free: 35.59 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.000743/1.583, allocations: 0.7556 MB / 1.569 GB, free: 35.59 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/1.585, allocations: 1.265 MB / 1.57 GB, free: 35.59 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.006378/1.591, allocations: 4.941 MB / 1.575 GB, free: 35.35 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/1.591, allocations: 0.8125 kB / 1.575 GB, free: 35.35 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.585e-06/1.591, allocations: 1.453 kB / 1.575 GB, free: 35.35 MB / 1.279 GB Notification: Performance of Transformations before backend: time 3.427e-05/1.591, allocations: 2 kB / 1.575 GB, free: 35.35 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.003999/1.595, allocations: 2.822 MB / 1.578 GB, free: 33.88 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/1.595, allocations: 9.797 kB / 1.578 GB, free: 33.88 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001759/1.595, allocations: 170.3 kB / 1.578 GB, free: 33.84 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003872/1.599, allocations: 0.7271 MB / 1.579 GB, free: 33.7 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007608/1.607, allocations: 5.659 MB / 1.584 GB, free: 33.14 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.348e-05/1.607, allocations: 88.97 kB / 1.584 GB, free: 33.14 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/1.607, allocations: 113 kB / 1.584 GB, free: 33.14 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/1.609, allocations: 1.401 MB / 1.586 GB, free: 32.77 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/1.609, allocations: 8.938 kB / 1.586 GB, free: 32.77 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.609, allocations: 45.03 kB / 1.586 GB, free: 32.77 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/1.609, allocations: 46.09 kB / 1.586 GB, free: 32.77 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/1.611, allocations: 0.97 MB / 1.587 GB, free: 32.76 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.0056/1.617, allocations: 7.668 MB / 1.594 GB, free: 28.24 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/1.618, allocations: 370.9 kB / 1.595 GB, free: 28.12 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/1.618, allocations: 116 kB / 1.595 GB, free: 28.12 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/1.618, allocations: 194.1 kB / 1.595 GB, free: 27.93 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/1.618, allocations: 31.69 kB / 1.595 GB, free: 27.89 MB / 1.279 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/1.618, allocations: 0 / 1.595 GB, free: 27.89 MB / 1.279 GB Notification: Performance of matching and sorting (n=18): time 0.001198/1.619, allocations: 0.5423 MB / 1.596 GB, free: 27.74 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/1.619, allocations: 51.41 kB / 1.596 GB, free: 27.68 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/1.622, allocations: 2.282 MB / 1.598 GB, free: 27.42 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/1.622, allocations: 34.16 kB / 1.598 GB, free: 27.39 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005627/1.622, allocations: 0.9925 MB / 1.599 GB, free: 27.06 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/1.622, allocations: 80.67 kB / 1.599 GB, free: 27.02 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/1.623, allocations: 286 kB / 1.599 GB, free: 26.98 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 6.157e-05/1.623, allocations: 357.1 kB / 1.6 GB, free: 26.68 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007391/1.623, allocations: 454.3 kB / 1.6 GB, free: 26.67 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008736/1.624, allocations: 0.8969 MB / 1.601 GB, free: 26.12 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/1.626, allocations: 1.207 MB / 1.602 GB, free: 25.62 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.626, allocations: 5.719 kB / 1.602 GB, free: 25.62 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00207/1.628, allocations: 1.519 MB / 1.604 GB, free: 25.46 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.628, allocations: 13.97 kB / 1.604 GB, free: 25.46 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.628, allocations: 16.84 kB / 1.604 GB, free: 25.46 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/1.628, allocations: 18.72 kB / 1.604 GB, free: 25.46 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007463/1.628, allocations: 246.8 kB / 1.604 GB, free: 25.46 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/1.628, allocations: 30.53 kB / 1.604 GB, free: 25.46 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/1.63, allocations: 212.7 kB / 1.604 GB, free: 25.36 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/1.63, allocations: 54.59 kB / 1.604 GB, free: 25.36 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001106/1.631, allocations: 0.9299 MB / 1.605 GB, free: 25.28 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007848/1.632, allocations: 0.8861 MB / 1.606 GB, free: 24.73 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001152/1.633, allocations: 1.203 MB / 1.607 GB, free: 24.21 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.32e-06/1.633, allocations: 7.688 kB / 1.607 GB, free: 24.21 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.001906/1.635, allocations: 1.492 MB / 1.609 GB, free: 24.05 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/1.635, allocations: 11.22 kB / 1.609 GB, free: 24.05 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.635, allocations: 18.16 kB / 1.609 GB, free: 24.05 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/1.635, allocations: 23.94 kB / 1.609 GB, free: 24.05 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/1.635, allocations: 247.8 kB / 1.609 GB, free: 24.05 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/1.635, allocations: 30.62 kB / 1.609 GB, free: 24.05 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009886/1.636, allocations: 137.6 kB / 1.609 GB, free: 24.02 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/1.637, allocations: 50.28 kB / 1.609 GB, free: 24.02 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.0001325/1.637, allocations: 248 kB / 1.609 GB, free: 23.83 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/1.637, allocations: 209.5 kB / 1.609 GB, free: 23.71 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/1.637, allocations: 169.2 kB / 1.61 GB, free: 23.69 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/1.637, allocations: 0 / 1.61 GB, free: 23.69 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.637, allocations: 2.781 kB / 1.61 GB, free: 23.69 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/1.637, allocations: 0.7812 kB / 1.61 GB, free: 23.69 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/1.639, allocations: 1.876 MB / 1.611 GB, free: 23.13 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.639, allocations: 8.062 kB / 1.611 GB, free: 23.13 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/1.64, allocations: 50.05 kB / 1.612 GB, free: 23.13 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.64, allocations: 6.719 kB / 1.612 GB, free: 23.13 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/1.64, allocations: 10.75 kB / 1.612 GB, free: 23.13 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/1.64, allocations: 5.344 kB / 1.612 GB, free: 23.13 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.64, allocations: 9.281 kB / 1.612 GB, free: 23.13 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007643/1.64, allocations: 0.5826 MB / 1.612 GB, free: 22.81 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/1.641, allocations: 333.2 kB / 1.612 GB, free: 22.6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/1.641, allocations: 9.25 kB / 1.612 GB, free: 22.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007113/1.642, allocations: 51.06 kB / 1.612 GB, free: 22.6 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/1.642, allocations: 20.23 kB / 1.613 GB, free: 22.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/1.642, allocations: 20.92 kB / 1.613 GB, free: 22.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001705/1.643, allocations: 1.546 MB / 1.614 GB, free: 22.45 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.4e-07/1.643, allocations: 0 / 1.614 GB, free: 22.45 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001748/1.645, allocations: 0.8234 MB / 1.615 GB, free: 22.38 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.001444/1.647, allocations: 1.478 MB / 1.616 GB, free: 21.47 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00205/1.649, allocations: 1.438 MB / 1.618 GB, free: 21.45 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.649, allocations: 0 / 1.618 GB, free: 21.45 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/1.649, allocations: 126.4 kB / 1.618 GB, free: 21.45 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/1.652, allocations: 1.088 MB / 1.619 GB, free: 21.25 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/1.667, allocations: 13.75 MB / 1.632 GB, free: 17.25 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007515/1.668, allocations: 1.484 MB / 1.634 GB, free: 16.51 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001429/1.669, allocations: 462.8 kB / 1.634 GB, free: 16.39 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006856/1.67, allocations: 0.7228 MB / 1.635 GB, free: 16.38 MB / 1.279 GB Notification: Performance of SimCode: time 4.91e-07/1.67, allocations: 1.422 kB / 1.635 GB, free: 16.38 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.207/2.877, allocations: 51.84 MB / 1.686 GB, free: 15.02 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/16.16, allocations: 11.8 kB / 1.686 GB, free: 15.01 MB / 1.295 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches