Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_9_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.001022/0.001022, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007698/0.007698, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.173/1.173, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003287, allocations: 12 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.5622, allocations: 142.4 MB / 0.9552 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.7238/1.286, allocations: 306.2 MB / 1.254 GB, free: 21.87 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02503/1.311, allocations: 27.34 MB / 1.281 GB, free: 21.67 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/1.313, allocations: 67.47 kB / 1.281 GB, free: 21.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002568/1.315, allocations: 1.332 MB / 1.282 GB, free: 21.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004734/1.32, allocations: 2.81 MB / 1.285 GB, free: 21.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00444/1.325, allocations: 2.366 MB / 1.287 GB, free: 21.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005144/1.33, allocations: 6.004 MB / 1.293 GB, free: 21.47 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/1.331, allocations: 1.621 MB / 1.295 GB, free: 21.2 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/1.334, allocations: 1.966 MB / 1.297 GB, free: 21.17 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/1.336, allocations: 1.335 MB / 1.298 GB, free: 21.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/1.336, allocations: 66.94 kB / 1.298 GB, free: 21.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004404/1.34, allocations: 3.624 MB / 1.302 GB, free: 21.13 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003412/1.34, allocations: 0.4937 MB / 1.302 GB, free: 21.13 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006804/1.341, allocations: 0.9968 MB / 1.303 GB, free: 21.1 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003622/1.345, allocations: 4.664 MB / 1.308 GB, free: 20.87 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/1.345, allocations: 0 / 1.308 GB, free: 20.87 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.193e-06/1.345, allocations: 6.938 kB / 1.308 GB, free: 20.86 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.103e-05/1.345, allocations: 0 / 1.308 GB, free: 20.86 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.002483/1.347, allocations: 2.095 MB / 1.31 GB, free: 19.67 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/1.347, allocations: 12.66 kB / 1.31 GB, free: 19.67 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002063/1.348, allocations: 189.4 kB / 1.31 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004844/1.352, allocations: 0.9475 MB / 1.311 GB, free: 19.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/1.355, allocations: 2.068 MB / 1.313 GB, free: 19.01 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005682/1.356, allocations: 230.3 kB / 1.313 GB, free: 19 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/1.356, allocations: 133.5 kB / 1.313 GB, free: 19 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/1.359, allocations: 1.705 MB / 1.315 GB, free: 18.81 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/1.359, allocations: 13.03 kB / 1.315 GB, free: 18.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/1.359, allocations: 51.22 kB / 1.315 GB, free: 18.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/1.359, allocations: 45.86 kB / 1.315 GB, free: 18.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003388/1.362, allocations: 1.621 MB / 1.317 GB, free: 18.75 MB / 0.9981 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.00717/1.369, allocations: 7.48 MB / 1.324 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/1.372, allocations: 0.7235 MB / 1.325 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007348/1.372, allocations: 334.7 kB / 1.325 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/1.372, allocations: 191.2 kB / 1.325 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/1.372, allocations: 42.53 kB / 1.325 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003323/1.373, allocations: 84.78 kB / 1.325 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 1.803e-06/1.373, allocations: 3.984 kB / 1.325 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.002793/1.376, allocations: 1.434 MB / 1.327 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.677e-05/1.376, allocations: 54.31 kB / 1.327 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/1.378, allocations: 1.859 MB / 1.328 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/1.378, allocations: 39.55 kB / 1.328 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005102/1.378, allocations: 0.8302 MB / 1.329 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-05/1.379, allocations: 126.4 kB / 1.329 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.42e-05/1.379, allocations: 61.45 kB / 1.329 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.135e-05/1.379, allocations: 326 kB / 1.33 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/1.38, allocations: 455.1 kB / 1.33 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/1.381, allocations: 0.6884 MB / 1.331 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/1.383, allocations: 0.9408 MB / 1.332 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.383, allocations: 7.344 kB / 1.332 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002832/1.386, allocations: 1.485 MB / 1.333 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.255e-05/1.386, allocations: 277 kB / 1.334 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.386, allocations: 7.984 kB / 1.334 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/1.386, allocations: 57.41 kB / 1.334 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.387, allocations: 231.5 kB / 1.334 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/1.388, allocations: 2.822 MB / 1.337 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/1.39, allocations: 288 kB / 1.337 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/1.39, allocations: 40.06 kB / 1.337 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.288e-06/1.39, allocations: 3.375 kB / 1.337 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002384/1.393, allocations: 1.222 MB / 1.338 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.393, allocations: 8.922 kB / 1.338 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.96e-05/1.393, allocations: 63.17 kB / 1.338 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009055/1.394, allocations: 215.8 kB / 1.338 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/1.395, allocations: 2.822 MB / 1.341 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/1.396, allocations: 229.3 kB / 1.341 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/1.396, allocations: 30.81 kB / 1.341 GB, free: 6.418 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (69): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004786/1.397, allocations: 0.5169 MB / 1.342 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/1.397, allocations: 173.1 kB / 1.342 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/1.399, allocations: 1.004 MB / 1.343 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.399, allocations: 13.84 kB / 1.343 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/1.399, allocations: 0 / 1.343 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.399, allocations: 0 / 1.343 GB, free: 5.824 MB / 0.9981 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 postOpt removeSimpleEquations (simulation): time 0.002957/1.402, allocations: 2.272 MB / 1.345 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.402, allocations: 2.625 kB / 1.345 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005932/1.402, allocations: 111.4 kB / 1.345 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.714e-05/1.402, allocations: 50.84 kB / 1.345 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/1.402, allocations: 13.27 kB / 1.345 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/1.403, allocations: 2.836 MB / 1.348 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.403, allocations: 3.375 kB / 1.348 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/1.405, allocations: 1.063 MB / 1.349 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/1.405, allocations: 331 kB / 1.35 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/1.406, allocations: 11.38 kB / 1.35 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.407, allocations: 145.5 kB / 1.35 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/1.407, allocations: 29.89 kB / 1.35 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/1.407, allocations: 29.88 kB / 1.35 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001559/1.408, allocations: 1.334 MB / 1.351 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.408, allocations: 0 / 1.351 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001679/1.41, allocations: 0.7641 MB / 1.352 GB, free: 0.9727 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.002178/1.412, allocations: 1.802 MB / 1.354 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003632/1.416, allocations: 1.837 MB / 1.355 GB, free: 15.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.416, allocations: 0 / 1.355 GB, free: 15.11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008875/1.417, allocations: 0.5349 MB / 1.356 GB, free: 14.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00377/1.421, allocations: 0.9587 MB / 1.357 GB, free: 14.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02456/1.445, allocations: 14.24 MB / 1.371 GB, free: 7.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007645/1.446, allocations: 1.34 MB / 1.372 GB, free: 6.559 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001509/1.447, allocations: 379.3 kB / 1.372 GB, free: 6.367 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007159/1.448, allocations: 0.6594 MB / 1.373 GB, free: 6.301 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/1.448, allocations: 0 / 1.373 GB, free: 6.301 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.837/5.285, allocations: 47.27 MB / 1.419 GB, free: 12.87 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/5.285, allocations: 216 kB / 1.419 GB, free: 12.6 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.27/8.555, allocations: 0 / 1.419 GB, free: 12.6 MB / 1.061 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches