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.008086/0.008086, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001692/0.001692, allocations: 195.5 kB / 16.67 MB, free: 5.52 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.387/2.387, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.84 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8967/0.8982, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3338/1.232, allocations: 312.7 MB / 1.472 GB, free: 9.926 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03514/1.267, allocations: 29.35 MB / 1.5 GB, free: 12.48 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003383/1.271, allocations: 83.62 kB / 1.5 GB, free: 12.4 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.006881/1.277, allocations: 2.427 MB / 1.503 GB, free: 9.965 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01043/1.288, allocations: 3.296 MB / 1.506 GB, free: 6.656 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.007642/1.296, allocations: 2.785 MB / 1.509 GB, free: 3.875 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01142/1.307, allocations: 7.548 MB / 1.516 GB, free: 12.31 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003152/1.31, allocations: 2.095 MB / 1.518 GB, free: 10.17 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005061/1.315, allocations: 2.449 MB / 1.52 GB, free: 7.715 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002947/1.318, allocations: 1.537 MB / 1.522 GB, free: 6.176 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003992/1.319, allocations: 256 kB / 1.522 GB, free: 5.926 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006964/1.326, allocations: 3.625 MB / 1.526 GB, free: 2.293 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0009227/1.327, allocations: 0.818 MB / 1.526 GB, free: 1.473 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001738/1.328, allocations: 1.388 MB / 1.528 GB, free: 80 kB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.008392/1.337, allocations: 5.442 MB / 1.533 GB, free: 10.62 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.337, allocations: 0 / 1.533 GB, free: 10.62 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.984e-06/1.337, allocations: 0 / 1.533 GB, free: 10.62 MB / 1.264 GB Notification: Performance of Transformations before backend: time 6.199e-05/1.337, allocations: 0 / 1.533 GB, free: 10.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.005143/1.342, allocations: 2.935 MB / 1.536 GB, free: 7.613 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.342, allocations: 8.625 kB / 1.536 GB, free: 7.605 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002275/1.342, allocations: 190.3 kB / 1.536 GB, free: 7.41 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005504/1.348, allocations: 0.9375 MB / 1.537 GB, free: 6.469 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009956/1.358, allocations: 5.738 MB / 1.543 GB, free: 0.6758 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-05/1.358, allocations: 102.6 kB / 1.543 GB, free: 0.5742 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/1.358, allocations: 136 kB / 1.543 GB, free: 452 kB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/1.361, allocations: 1.593 MB / 1.544 GB, free: 14.78 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/1.361, allocations: 0 / 1.544 GB, free: 14.78 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/1.361, allocations: 52 kB / 1.545 GB, free: 14.73 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.884e-05/1.361, allocations: 50.5 kB / 1.545 GB, free: 14.68 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003078/1.365, allocations: 1.325 MB / 1.546 GB, free: 13.35 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.01027/1.375, allocations: 7.613 MB / 1.553 GB, free: 5.203 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/1.377, allocations: 0.6712 MB / 1.554 GB, free: 4.508 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006185/1.377, allocations: 254.1 kB / 1.554 GB, free: 4.258 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/1.378, allocations: 194.8 kB / 1.554 GB, free: 4.031 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.378, allocations: 38.56 kB / 1.554 GB, free: 3.984 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 2.755e-06/1.378, allocations: 0 / 1.554 GB, free: 3.984 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.002718/1.38, allocations: 1.042 MB / 1.555 GB, free: 2.895 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/1.38, allocations: 59.34 kB / 1.556 GB, free: 2.824 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003164/1.384, allocations: 2.36 MB / 1.558 GB, free: 456 kB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 7.998e-05/1.384, allocations: 37.7 kB / 1.558 GB, free: 412 kB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.6463/2.03, allocations: 0.9569 MB / 1.559 GB, free: 390.1 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003561/2.03, allocations: 131.4 kB / 1.559 GB, free: 390.1 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008886/2.031, allocations: 259 kB / 1.559 GB, free: 390.1 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001805/2.032, allocations: 347.5 kB / 1.559 GB, free: 389.8 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/2.034, allocations: 0.516 MB / 1.56 GB, free: 389.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/2.036, allocations: 0.7887 MB / 1.561 GB, free: 389.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/2.039, allocations: 1.122 MB / 1.562 GB, free: 388.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/2.039, allocations: 6.156 kB / 1.562 GB, free: 388.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004436/2.043, allocations: 1.627 MB / 1.563 GB, free: 387.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/2.043, allocations: 8.016 kB / 1.563 GB, free: 387.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/2.043, allocations: 7.219 kB / 1.563 GB, free: 387.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/2.043, allocations: 36.58 kB / 1.564 GB, free: 387.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/2.045, allocations: 248.4 kB / 1.564 GB, free: 387.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/2.046, allocations: 1.563 MB / 1.565 GB, free: 386.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/2.048, allocations: 242.7 kB / 1.565 GB, free: 386.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/2.048, allocations: 47.42 kB / 1.566 GB, free: 386.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0021/2.05, allocations: 1.009 MB / 1.567 GB, free: 385.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001191/2.051, allocations: 0.7753 MB / 1.567 GB, free: 385.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001667/2.053, allocations: 1.105 MB / 1.568 GB, free: 384.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/2.053, allocations: 3.906 kB / 1.568 GB, free: 384.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.002851/2.056, allocations: 1.604 MB / 1.57 GB, free: 383.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/2.056, allocations: 10.7 kB / 1.57 GB, free: 383.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/2.056, allocations: 3.969 kB / 1.57 GB, free: 383.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-05/2.056, allocations: 51.62 kB / 1.57 GB, free: 383.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/2.057, allocations: 230.9 kB / 1.57 GB, free: 383.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007553/2.058, allocations: 1.576 MB / 1.572 GB, free: 382.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/2.059, allocations: 163.4 kB / 1.572 GB, free: 382.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/2.059, allocations: 38.94 kB / 1.572 GB, free: 382.2 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.0002664/2.06, allocations: 230.8 kB / 1.572 GB, free: 381.9 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/2.06, allocations: 212.1 kB / 1.572 GB, free: 381.8 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/2.062, allocations: 0.7577 MB / 1.573 GB, free: 381.4 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/2.062, allocations: 4.406 kB / 1.573 GB, free: 381.4 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/2.062, allocations: 3.812 kB / 1.573 GB, free: 381.4 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/2.062, allocations: 4.688 kB / 1.573 GB, free: 381.4 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/2.065, allocations: 2.161 MB / 1.575 GB, free: 380.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/2.065, allocations: 0 / 1.575 GB, free: 380.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005729/2.066, allocations: 96.67 kB / 1.575 GB, free: 380.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.024e-05/2.066, allocations: 24.33 kB / 1.575 GB, free: 380.3 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/2.066, allocations: 16.47 kB / 1.575 GB, free: 380.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007268/2.066, allocations: 1.562 MB / 1.577 GB, free: 378.7 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/2.066, allocations: 3.781 kB / 1.577 GB, free: 378.7 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/2.068, allocations: 0.8819 MB / 1.578 GB, free: 378.1 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004667/2.068, allocations: 356.8 kB / 1.578 GB, free: 377.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/2.068, allocations: 11.22 kB / 1.578 GB, free: 377.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009721/2.069, allocations: 64.7 kB / 1.578 GB, free: 377.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/2.069, allocations: 29.47 kB / 1.578 GB, free: 377.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/2.07, allocations: 19.27 kB / 1.578 GB, free: 377.9 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002134/2.072, allocations: 1.645 MB / 1.58 GB, free: 377.1 MB / 1.279 GB Notification: Performance of sort global known variables: time 7.52e-07/2.072, allocations: 0 / 1.58 GB, free: 377.1 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001982/2.074, allocations: 0.8872 MB / 1.581 GB, free: 376.3 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.002195/2.076, allocations: 1.785 MB / 1.582 GB, free: 374.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003239/2.079, allocations: 1.817 MB / 1.584 GB, free: 373 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/2.079, allocations: 0 / 1.584 GB, free: 373 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005684/2.08, allocations: 357.5 kB / 1.585 GB, free: 372.7 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004045/2.084, allocations: 1.241 MB / 1.586 GB, free: 371.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/2.102, allocations: 14.7 MB / 1.6 GB, free: 356.7 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/2.103, allocations: 1.53 MB / 1.602 GB, free: 355.1 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001658/2.105, allocations: 474.1 kB / 1.602 GB, free: 354.6 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007742/2.105, allocations: 0.8039 MB / 1.603 GB, free: 353.8 MB / 1.279 GB Notification: Performance of SimCode: time 5.61e-07/2.105, allocations: 0 / 1.603 GB, free: 353.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07794/2.183, allocations: 56.23 MB / 1.658 GB, free: 298.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/15.72, allocations: 7.938 kB / 1.658 GB, free: 298.2 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=50 --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