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.001374/0.001374, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.46/2.46, allocations: 437 MB / 0.7104 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 72.06 kB / 0.8693 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5222/0.5236, allocations: 151.6 MB / 1.017 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.7219/1.246, allocations: 312.7 MB / 1.323 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02593/1.271, allocations: 29.37 MB / 1.351 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/1.274, allocations: 80.94 kB / 1.352 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007727/1.282, allocations: 4.877 MB / 1.356 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005859/1.288, allocations: 3.037 MB / 1.359 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004881/1.293, allocations: 2.62 MB / 1.362 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007135/1.3, allocations: 7.411 MB / 1.369 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/1.302, allocations: 2.056 MB / 1.371 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003143/1.305, allocations: 2.361 MB / 1.373 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/1.307, allocations: 1.486 MB / 1.375 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000309/1.307, allocations: 249.2 kB / 1.375 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005283/1.312, allocations: 3.591 MB / 1.379 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000515/1.313, allocations: 0.8092 MB / 1.379 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001011/1.314, allocations: 1.382 MB / 1.381 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005118/1.319, allocations: 5.325 MB / 1.386 GB, free: 13.54 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.319, allocations: 2.531 kB / 1.386 GB, free: 13.54 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.252e-06/1.319, allocations: 0 / 1.386 GB, free: 13.54 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.468e-05/1.319, allocations: 0 / 1.386 GB, free: 13.54 MB / 1.014 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.003764/1.323, allocations: 2.896 MB / 1.389 GB, free: 11.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/1.323, allocations: 14.89 kB / 1.389 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/1.323, allocations: 196.6 kB / 1.389 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005557/1.328, allocations: 0.9398 MB / 1.39 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008108/1.337, allocations: 5.631 MB / 1.395 GB, free: 7.086 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003594/1.337, allocations: 156.5 kB / 1.395 GB, free: 7.02 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/1.337, allocations: 128.4 kB / 1.396 GB, free: 6.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/1.34, allocations: 1.597 MB / 1.397 GB, free: 5.984 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/1.34, allocations: 0 / 1.397 GB, free: 5.984 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/1.34, allocations: 60.34 kB / 1.397 GB, free: 5.938 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/1.34, allocations: 47.06 kB / 1.397 GB, free: 5.934 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002995/1.343, allocations: 1.335 MB / 1.399 GB, free: 5.266 MB / 1.014 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.008341/1.351, allocations: 7.68 MB / 1.406 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/1.353, allocations: 0.6763 MB / 1.407 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006051/1.354, allocations: 263.3 kB / 1.407 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/1.354, allocations: 186.6 kB / 1.407 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/1.354, allocations: 41.22 kB / 1.407 GB, free: 13.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/1.354, allocations: 0 / 1.407 GB, free: 13.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.002418/1.357, allocations: 1.05 MB / 1.408 GB, free: 13.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/1.357, allocations: 54.53 kB / 1.408 GB, free: 13.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/1.359, allocations: 2.365 MB / 1.411 GB, free: 11.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/1.359, allocations: 33.7 kB / 1.411 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007287/1.36, allocations: 0.9638 MB / 1.412 GB, free: 10.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.207e-05/1.36, allocations: 129.6 kB / 1.412 GB, free: 10 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/1.361, allocations: 250.3 kB / 1.412 GB, free: 9.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.361, allocations: 353.9 kB / 1.412 GB, free: 9.398 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/1.362, allocations: 0.5204 MB / 1.413 GB, free: 8.875 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/1.363, allocations: 0.8037 MB / 1.414 GB, free: 7.965 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00196/1.365, allocations: 1.122 MB / 1.415 GB, free: 6.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.365, allocations: 4 kB / 1.415 GB, free: 6.766 MB / 1.029 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003066/1.368, allocations: 1.628 MB / 1.416 GB, free: 5.148 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.368, allocations: 9.562 kB / 1.416 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/1.368, allocations: 8.375 kB / 1.416 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/1.368, allocations: 47.27 kB / 1.416 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.37, allocations: 240.4 kB / 1.417 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009741/1.371, allocations: 1.569 MB / 1.418 GB, free: 3.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/1.372, allocations: 251.1 kB / 1.418 GB, free: 2.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/1.372, allocations: 39.98 kB / 1.418 GB, free: 2.879 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001666/1.374, allocations: 1.022 MB / 1.419 GB, free: 1.855 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001271/1.375, allocations: 0.7801 MB / 1.42 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001842/1.377, allocations: 1.113 MB / 1.421 GB, free: 15.79 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.978e-06/1.377, allocations: 0 / 1.421 GB, free: 15.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.002919/1.38, allocations: 1.613 MB / 1.423 GB, free: 14.18 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/1.38, allocations: 8 kB / 1.423 GB, free: 14.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.38, allocations: 8 kB / 1.423 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.356e-05/1.38, allocations: 40.78 kB / 1.423 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/1.381, allocations: 241.8 kB / 1.423 GB, free: 13.9 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008875/1.382, allocations: 1.57 MB / 1.425 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.384, allocations: 174.1 kB / 1.425 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.1e-05/1.384, allocations: 43.98 kB / 1.425 GB, free: 11.99 MB / 1.045 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.000182/1.384, allocations: 229.4 kB / 1.425 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/1.384, allocations: 205.3 kB / 1.425 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/1.386, allocations: 0.7659 MB / 1.426 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.386, allocations: 4 kB / 1.426 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/1.386, allocations: 0 / 1.426 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.386, allocations: 3.984 kB / 1.426 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/1.389, allocations: 2.15 MB / 1.428 GB, free: 8.531 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/1.389, allocations: 2.719 kB / 1.428 GB, free: 8.531 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006027/1.389, allocations: 103.2 kB / 1.428 GB, free: 8.434 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.716e-05/1.39, allocations: 24.84 kB / 1.428 GB, free: 8.406 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/1.39, allocations: 8 kB / 1.428 GB, free: 8.398 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008647/1.39, allocations: 1.562 MB / 1.43 GB, free: 6.703 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.39, allocations: 7.969 kB / 1.43 GB, free: 6.695 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/1.392, allocations: 0.8825 MB / 1.431 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/1.392, allocations: 362.2 kB / 1.431 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/1.393, allocations: 8 kB / 1.431 GB, free: 5.375 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/1.394, allocations: 67.92 kB / 1.431 GB, free: 5.309 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/1.394, allocations: 29.94 kB / 1.431 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/1.394, allocations: 19.98 kB / 1.431 GB, free: 5.262 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002226/1.396, allocations: 1.643 MB / 1.433 GB, free: 3.609 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.81e-07/1.396, allocations: 0 / 1.433 GB, free: 3.609 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00195/1.398, allocations: 0.8969 MB / 1.434 GB, free: 2.711 MB / 1.045 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.002436/1.4, allocations: 1.785 MB / 1.435 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00361/1.404, allocations: 1.842 MB / 1.437 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.404, allocations: 0 / 1.437 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006726/1.405, allocations: 350.2 kB / 1.437 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004409/1.409, allocations: 1.251 MB / 1.439 GB, free: 13.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02177/1.431, allocations: 16.49 MB / 1.455 GB, free: 11.91 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/1.432, allocations: 1.541 MB / 1.456 GB, free: 10.32 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001898/1.434, allocations: 465.9 kB / 1.457 GB, free: 9.867 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009356/1.435, allocations: 0.8 MB / 1.457 GB, free: 9.07 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/1.435, allocations: 0 / 1.457 GB, free: 9.07 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.748/3.183, allocations: 57.96 MB / 1.514 GB, free: 15.82 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/15.19, allocations: 15.53 kB / 1.514 GB, free: 15.8 MB / 1.139 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