Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_10_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.004918/0.004918, allocations: 100.5 kB / 15.73 MB, free: 6.059 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.001356/0.001356, allocations: 196.7 kB / 16.68 MB, free: 5.969 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.214/1.214, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.162/2.162, allocations: 437.1 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 71.81 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5693/0.5709, allocations: 151.6 MB / 1.166 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3013/0.8723, allocations: 312.7 MB / 1.472 GB, free: 9.891 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03378/0.9061, allocations: 29.36 MB / 1.5 GB, free: 12.44 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.9082, allocations: 83.56 kB / 1.5 GB, free: 12.36 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.005203/0.9134, allocations: 2.377 MB / 1.503 GB, free: 9.969 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.006499/0.9199, allocations: 3.187 MB / 1.506 GB, free: 6.77 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.005263/0.9252, allocations: 2.739 MB / 1.508 GB, free: 4.031 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.009306/0.9345, allocations: 7.547 MB / 1.516 GB, free: 12.47 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002573/0.9371, allocations: 2.092 MB / 1.518 GB, free: 10.33 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003697/0.9408, allocations: 2.398 MB / 1.52 GB, free: 7.926 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.9429, allocations: 1.52 MB / 1.522 GB, free: 6.406 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.9432, allocations: 256 kB / 1.522 GB, free: 6.156 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005423/0.9487, allocations: 3.606 MB / 1.525 GB, free: 2.543 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.000725/0.9494, allocations: 0.8336 MB / 1.526 GB, free: 1.707 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.9507, allocations: 1.392 MB / 1.528 GB, free: 316 kB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005939/0.9566, allocations: 5.451 MB / 1.533 GB, free: 10.84 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.9567, allocations: 0 / 1.533 GB, free: 10.84 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9567, allocations: 0 / 1.533 GB, free: 10.84 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.931e-05/0.9567, allocations: 0 / 1.533 GB, free: 10.84 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.004009/0.9607, allocations: 3.019 MB / 1.536 GB, free: 7.746 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.9607, allocations: 12.56 kB / 1.536 GB, free: 7.734 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002084/0.961, allocations: 198.3 kB / 1.536 GB, free: 7.531 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00516/0.9661, allocations: 0.9544 MB / 1.537 GB, free: 6.574 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008785/0.9749, allocations: 5.759 MB / 1.543 GB, free: 0.7617 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.329e-05/0.975, allocations: 102.6 kB / 1.543 GB, free: 0.6602 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.9752, allocations: 128 kB / 1.543 GB, free: 0.5352 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.978, allocations: 1.593 MB / 1.544 GB, free: 14.88 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.9781, allocations: 0 / 1.544 GB, free: 14.88 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.9782, allocations: 56 kB / 1.544 GB, free: 14.82 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/0.9782, allocations: 50.44 kB / 1.544 GB, free: 14.77 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003037/0.9813, allocations: 1.321 MB / 1.546 GB, free: 13.44 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.008825/0.9901, allocations: 7.634 MB / 1.553 GB, free: 5.277 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.9919, allocations: 0.6728 MB / 1.554 GB, free: 4.578 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/0.9925, allocations: 260.7 kB / 1.554 GB, free: 4.32 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/0.9928, allocations: 190.8 kB / 1.554 GB, free: 4.098 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.9928, allocations: 38.56 kB / 1.554 GB, free: 4.051 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 1.322e-06/0.9928, allocations: 0 / 1.554 GB, free: 4.051 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.002467/0.9953, allocations: 1.048 MB / 1.555 GB, free: 2.957 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.9954, allocations: 63.34 kB / 1.555 GB, free: 2.883 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002957/0.9983, allocations: 2.365 MB / 1.558 GB, free: 0.5 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/0.9984, allocations: 33.7 kB / 1.558 GB, free: 472 kB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.4176/1.416, allocations: 0.9695 MB / 1.559 GB, free: 390.4 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/1.416, allocations: 135.5 kB / 1.559 GB, free: 390.4 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004051/1.417, allocations: 256.4 kB / 1.559 GB, free: 390.4 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 6.872e-05/1.417, allocations: 350.2 kB / 1.559 GB, free: 390 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/1.418, allocations: 0.513 MB / 1.56 GB, free: 389.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/1.419, allocations: 0.7881 MB / 1.561 GB, free: 389.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/1.421, allocations: 1.124 MB / 1.562 GB, free: 388.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.421, allocations: 4.688 kB / 1.562 GB, free: 388.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003027/1.424, allocations: 1.64 MB / 1.563 GB, free: 388.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.424, allocations: 11.31 kB / 1.563 GB, free: 388.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.424, allocations: 7.938 kB / 1.563 GB, free: 388.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/1.424, allocations: 34.58 kB / 1.563 GB, free: 388.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/1.425, allocations: 245.8 kB / 1.564 GB, free: 388.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006678/1.426, allocations: 1.565 MB / 1.565 GB, free: 386.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/1.427, allocations: 241.6 kB / 1.565 GB, free: 386.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/1.427, allocations: 43.64 kB / 1.566 GB, free: 386.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001432/1.429, allocations: 1.014 MB / 1.566 GB, free: 386 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009961/1.43, allocations: 0.7791 MB / 1.567 GB, free: 385.5 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001426/1.431, allocations: 1.11 MB / 1.568 GB, free: 384.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/1.431, allocations: 3.969 kB / 1.568 GB, free: 384.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.002298/1.434, allocations: 1.614 MB / 1.57 GB, free: 384.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 8.375e-06/1.434, allocations: 8.484 kB / 1.57 GB, free: 384.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.434, allocations: 11 kB / 1.57 GB, free: 384.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.724e-05/1.434, allocations: 40.19 kB / 1.57 GB, free: 384.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008945/1.435, allocations: 233.5 kB / 1.57 GB, free: 384.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005416/1.435, allocations: 1.575 MB / 1.572 GB, free: 382.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/1.436, allocations: 170.5 kB / 1.572 GB, free: 382.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/1.436, allocations: 38.83 kB / 1.572 GB, free: 382.5 MB / 1.279 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.0001308/1.437, allocations: 228.9 kB / 1.572 GB, free: 382.3 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/1.437, allocations: 217.4 kB / 1.572 GB, free: 382.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/1.438, allocations: 0.7574 MB / 1.573 GB, free: 381.8 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/1.438, allocations: 3.797 kB / 1.573 GB, free: 381.8 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/1.438, allocations: 0 / 1.573 GB, free: 381.8 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/1.438, allocations: 1.734 kB / 1.573 GB, free: 381.8 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/1.441, allocations: 2.166 MB / 1.575 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.441, allocations: 0 / 1.575 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/1.441, allocations: 100.6 kB / 1.575 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.197e-05/1.441, allocations: 30.19 kB / 1.575 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/1.441, allocations: 11.44 kB / 1.575 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005234/1.442, allocations: 1.56 MB / 1.577 GB, free: 379 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.442, allocations: 6.594 kB / 1.577 GB, free: 379 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/1.443, allocations: 0.8952 MB / 1.578 GB, free: 378.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/1.443, allocations: 366.3 kB / 1.578 GB, free: 378.2 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/1.443, allocations: 8.094 kB / 1.578 GB, free: 378.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008633/1.444, allocations: 67.66 kB / 1.578 GB, free: 378.2 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/1.444, allocations: 28.91 kB / 1.578 GB, free: 378.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/1.444, allocations: 19.59 kB / 1.578 GB, free: 378.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001657/1.446, allocations: 1.642 MB / 1.58 GB, free: 377.5 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.61e-07/1.446, allocations: 0 / 1.58 GB, free: 377.5 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001396/1.447, allocations: 0.8914 MB / 1.581 GB, free: 376.9 MB / 1.279 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.0018/1.449, allocations: 1.801 MB / 1.582 GB, free: 375.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00274/1.452, allocations: 1.815 MB / 1.584 GB, free: 373.6 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.452, allocations: 4 kB / 1.584 GB, free: 373.6 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005343/1.453, allocations: 367.3 kB / 1.585 GB, free: 373.2 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/1.456, allocations: 1.238 MB / 1.586 GB, free: 372.3 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/1.471, allocations: 14.77 MB / 1.6 GB, free: 357.3 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/1.472, allocations: 1.537 MB / 1.602 GB, free: 355.7 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001212/1.473, allocations: 470.9 kB / 1.602 GB, free: 355.3 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006937/1.473, allocations: 0.8039 MB / 1.603 GB, free: 354.5 MB / 1.279 GB Notification: Performance of SimCode: time 2.9e-07/1.473, allocations: 0 / 1.603 GB, free: 354.5 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.29/11.77, allocations: 56.24 MB / 1.658 GB, free: 298.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.87/32.63, allocations: 6.188 kB / 1.658 GB, free: 298.8 MB / 1.279 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches