Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_noReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_9_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.0008642/0.0008642, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.005275/0.005275, allocations: 169.5 kB / 16.26 MB, free: 6.613 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.182/1.182, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.072/2.072, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 16 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6292/0.6295, allocations: 142.4 MB / 0.9552 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.2821/0.9117, allocations: 298.5 MB / 1.247 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.562/1.474, allocations: 25.44 MB / 1.272 GB, free: 25.46 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002793/1.477, allocations: 68.16 kB / 1.272 GB, free: 25.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004075/1.481, allocations: 1.2 MB / 1.273 GB, free: 25.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007957/1.489, allocations: 2.699 MB / 1.275 GB, free: 25.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00645/1.495, allocations: 2.367 MB / 1.278 GB, free: 25.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008416/1.503, allocations: 5.619 MB / 1.283 GB, free: 25.28 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/1.506, allocations: 1.424 MB / 1.285 GB, free: 25.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004987/1.511, allocations: 1.886 MB / 1.286 GB, free: 25.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003323/1.515, allocations: 1.212 MB / 1.288 GB, free: 25.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002525/1.515, allocations: 63.59 kB / 1.288 GB, free: 25.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005968/1.521, allocations: 3.263 MB / 1.291 GB, free: 24.99 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006389/1.522, allocations: 493.4 kB / 1.291 GB, free: 24.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001348/1.523, allocations: 0.9125 MB / 1.292 GB, free: 24.95 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00553/1.528, allocations: 4.219 MB / 1.296 GB, free: 24.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.528, allocations: 0 / 1.296 GB, free: 24.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.284e-06/1.528, allocations: 0 / 1.296 GB, free: 24.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.673e-05/1.528, allocations: 0 / 1.296 GB, free: 24.75 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: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.002881/1.531, allocations: 1.934 MB / 1.298 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/1.531, allocations: 8.375 kB / 1.298 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/1.532, allocations: 171 kB / 1.298 GB, free: 23.58 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003802/1.535, allocations: 0.7064 MB / 1.299 GB, free: 23.45 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/1.538, allocations: 1.985 MB / 1.301 GB, free: 23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006004/1.539, allocations: 216.3 kB / 1.301 GB, free: 22.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/1.539, allocations: 106.1 kB / 1.301 GB, free: 22.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/1.541, allocations: 1.449 MB / 1.303 GB, free: 22.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/1.541, allocations: 6.062 kB / 1.303 GB, free: 22.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/1.542, allocations: 48.53 kB / 1.303 GB, free: 22.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/1.542, allocations: 39.59 kB / 1.303 GB, free: 22.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002587/1.544, allocations: 1.176 MB / 1.304 GB, free: 22.63 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.006657/1.551, allocations: 6.992 MB / 1.311 GB, free: 18.83 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/1.553, allocations: 433.8 kB / 1.311 GB, free: 18.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004427/1.553, allocations: 161.8 kB / 1.311 GB, free: 18.79 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/1.553, allocations: 188.3 kB / 1.312 GB, free: 18.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/1.553, allocations: 43.33 kB / 1.312 GB, free: 18.55 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004173/1.554, allocations: 75 kB / 1.312 GB, free: 18.51 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.514e-06/1.554, allocations: 3.984 kB / 1.312 GB, free: 18.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001757/1.555, allocations: 0.6271 MB / 1.312 GB, free: 18.38 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/1.556, allocations: 56.44 kB / 1.312 GB, free: 18.31 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/1.558, allocations: 1.741 MB / 1.314 GB, free: 18.08 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/1.558, allocations: 32.08 kB / 1.314 GB, free: 18.05 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/1.558, allocations: 0.8352 MB / 1.315 GB, free: 17.76 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/1.558, allocations: 72.06 kB / 1.315 GB, free: 17.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/1.558, allocations: 68.39 kB / 1.315 GB, free: 17.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.034e-05/1.558, allocations: 338.7 kB / 1.315 GB, free: 17.39 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000848/1.559, allocations: 327.2 kB / 1.316 GB, free: 17.38 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009622/1.56, allocations: 0.7043 MB / 1.316 GB, free: 16.88 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/1.562, allocations: 0.9122 MB / 1.317 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.562, allocations: 3.531 kB / 1.317 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002441/1.564, allocations: 1.115 MB / 1.318 GB, free: 16.26 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000188/1.564, allocations: 448.4 kB / 1.319 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/1.564, allocations: 14.19 kB / 1.319 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/1.564, allocations: 18.39 kB / 1.319 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/1.565, allocations: 213.4 kB / 1.319 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/1.565, allocations: 28.22 kB / 1.319 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.567, allocations: 193.3 kB / 1.319 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.085e-05/1.567, allocations: 44.5 kB / 1.319 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.45e-06/1.567, allocations: 9.906 kB / 1.319 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00174/1.568, allocations: 0.8729 MB / 1.32 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.568, allocations: 11.34 kB / 1.32 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/1.568, allocations: 14.66 kB / 1.32 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/1.569, allocations: 200 kB / 1.32 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/1.569, allocations: 23.39 kB / 1.32 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/1.57, allocations: 139.3 kB / 1.32 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/1.57, allocations: 40.3 kB / 1.321 GB, free: 15.64 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (84): * Single equations (assignments): 83 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0006641/1.571, allocations: 0.5253 MB / 1.321 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/1.571, allocations: 158.6 kB / 1.321 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/1.572, allocations: 0.4934 MB / 1.322 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.572, allocations: 2.906 kB / 1.322 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.572, allocations: 6.672 kB / 1.322 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.573, allocations: 0 / 1.322 GB, free: 15.29 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.002597/1.575, allocations: 1.617 MB / 1.323 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/1.575, allocations: 1.219 kB / 1.323 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/1.575, allocations: 66.55 kB / 1.323 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/1.576, allocations: 2.688 kB / 1.323 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/1.576, allocations: 19.69 kB / 1.323 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/1.576, allocations: 9.406 kB / 1.323 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.576, allocations: 0 / 1.323 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/1.577, allocations: 0.6187 MB / 1.324 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/1.577, allocations: 302.2 kB / 1.324 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/1.577, allocations: 7.359 kB / 1.324 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008991/1.578, allocations: 96.58 kB / 1.324 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/1.578, allocations: 17.45 kB / 1.324 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/1.578, allocations: 16.16 kB / 1.324 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001889/1.58, allocations: 1.214 MB / 1.326 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.58, allocations: 0 / 1.326 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001961/1.582, allocations: 0.6677 MB / 1.326 GB, free: 14.16 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 20 * 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.001694/1.584, allocations: 1.372 MB / 1.328 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002434/1.586, allocations: 1.049 MB / 1.329 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.586, allocations: 0 / 1.329 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004551/1.587, allocations: 161.8 kB / 1.329 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/1.59, allocations: 0.8079 MB / 1.33 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02217/1.612, allocations: 12.38 MB / 1.342 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006167/1.613, allocations: 1.282 MB / 1.343 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001646/1.615, allocations: 350 kB / 1.343 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006684/1.615, allocations: 0.5964 MB / 1.344 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of SimCode: time 8.91e-07/1.615, allocations: 3.938 kB / 1.344 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/1.73, allocations: 40.46 MB / 1.383 GB, free: 11.45 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/1.73, allocations: 203.8 kB / 1.383 GB, free: 11.19 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/4.366, allocations: 2.812 kB / 1.383 GB, free: 11.19 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches