Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_latest_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.005272/0.005272, allocations: 104.4 kB / 15.73 MB, free: 6.035 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.001121/0.001121, allocations: 196 kB / 16.67 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.641/2.641, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 63.84 kB / 1.054 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3357, allocations: 157.4 MB / 1.207 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.128/1.463, allocations: 304.9 MB / 1.505 GB, free: 6.078 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.04012/1.503, allocations: 27.44 MB / 1.532 GB, free: 10.55 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004664/1.508, allocations: 79.56 kB / 1.532 GB, free: 10.47 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.007558/1.516, allocations: 2.221 MB / 1.534 GB, free: 8.246 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01019/1.526, allocations: 3.061 MB / 1.537 GB, free: 5.172 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.007294/1.533, allocations: 2.752 MB / 1.54 GB, free: 2.43 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01116/1.544, allocations: 7.257 MB / 1.547 GB, free: 11.17 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003481/1.548, allocations: 1.825 MB / 1.549 GB, free: 9.301 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005341/1.553, allocations: 2.269 MB / 1.551 GB, free: 7.023 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003095/1.556, allocations: 1.358 MB / 1.552 GB, free: 5.668 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0007332/1.557, allocations: 219.9 kB / 1.552 GB, free: 5.453 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006534/1.564, allocations: 3.212 MB / 1.555 GB, free: 2.234 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001178/1.565, allocations: 0.7594 MB / 1.556 GB, free: 1.473 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.002411/1.567, allocations: 1.26 MB / 1.557 GB, free: 212 kB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.009162/1.577, allocations: 4.916 MB / 1.562 GB, free: 11.28 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/1.577, allocations: 4 kB / 1.562 GB, free: 11.27 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.434e-06/1.577, allocations: 3.938 kB / 1.562 GB, free: 11.27 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001287/1.577, allocations: 4 kB / 1.562 GB, free: 11.27 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.006492/1.583, allocations: 2.731 MB / 1.565 GB, free: 8.461 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.583, allocations: 12.62 kB / 1.565 GB, free: 8.449 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003818/1.584, allocations: 164.9 kB / 1.565 GB, free: 8.277 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004659/1.588, allocations: 0.7153 MB / 1.566 GB, free: 7.559 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/1.599, allocations: 5.641 MB / 1.571 GB, free: 1.863 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/1.599, allocations: 90.12 kB / 1.571 GB, free: 1.773 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004083/1.6, allocations: 108 kB / 1.571 GB, free: 1.668 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/1.603, allocations: 1.402 MB / 1.573 GB, free: 128 kB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/1.603, allocations: 7.938 kB / 1.573 GB, free: 120 kB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/1.603, allocations: 51.98 kB / 1.573 GB, free: 68 kB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.928e-05/1.603, allocations: 42 kB / 1.573 GB, free: 28 kB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/1.606, allocations: 0.9757 MB / 1.574 GB, free: 15.04 MB / 1.264 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.009849/1.616, allocations: 7.657 MB / 1.581 GB, free: 6.977 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008916/1.617, allocations: 372.7 kB / 1.582 GB, free: 6.586 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/1.617, allocations: 120.8 kB / 1.582 GB, free: 6.465 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/1.617, allocations: 182.2 kB / 1.582 GB, free: 6.25 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/1.617, allocations: 38.56 kB / 1.582 GB, free: 6.203 MB / 1.264 GB Notification: Performance of pre-optimization done (n=18): time 2.335e-06/1.617, allocations: 0 / 1.582 GB, free: 6.203 MB / 1.264 GB Notification: Performance of matching and sorting (n=18): time 0.001637/1.619, allocations: 0.5285 MB / 1.583 GB, free: 5.668 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/1.619, allocations: 51.41 kB / 1.583 GB, free: 5.605 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00392/1.623, allocations: 2.284 MB / 1.585 GB, free: 3.301 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 8.158e-05/1.623, allocations: 33.7 kB / 1.585 GB, free: 3.262 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.000909/1.624, allocations: 0.9784 MB / 1.586 GB, free: 2.27 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/1.624, allocations: 75.09 kB / 1.586 GB, free: 2.195 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004251/1.625, allocations: 286.2 kB / 1.586 GB, free: 1.906 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.625, allocations: 353.9 kB / 1.587 GB, free: 1.555 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008845/1.626, allocations: 456.9 kB / 1.587 GB, free: 1.105 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/1.627, allocations: 0.8958 MB / 1.588 GB, free: 15.99 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/1.628, allocations: 1.206 MB / 1.589 GB, free: 14.59 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/1.628, allocations: 4 kB / 1.589 GB, free: 14.59 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002822/1.631, allocations: 1.508 MB / 1.59 GB, free: 13.07 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/1.631, allocations: 12 kB / 1.59 GB, free: 13.06 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/1.631, allocations: 15.98 kB / 1.591 GB, free: 13.05 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.343e-05/1.631, allocations: 23.94 kB / 1.591 GB, free: 13.02 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008816/1.632, allocations: 247.8 kB / 1.591 GB, free: 12.78 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.478e-05/1.632, allocations: 29.95 kB / 1.591 GB, free: 12.75 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/1.634, allocations: 214 kB / 1.591 GB, free: 12.54 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/1.634, allocations: 55.98 kB / 1.591 GB, free: 12.49 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001576/1.636, allocations: 0.9239 MB / 1.592 GB, free: 11.56 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001082/1.637, allocations: 0.8919 MB / 1.593 GB, free: 10.46 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001556/1.638, allocations: 1.194 MB / 1.594 GB, free: 9.07 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-05/1.638, allocations: 4 kB / 1.594 GB, free: 9.066 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002713/1.641, allocations: 1.489 MB / 1.595 GB, free: 7.566 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.641, allocations: 8 kB / 1.595 GB, free: 7.559 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/1.641, allocations: 16 kB / 1.595 GB, free: 7.543 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/1.641, allocations: 20 kB / 1.595 GB, free: 7.523 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008133/1.642, allocations: 247.5 kB / 1.596 GB, free: 7.281 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.967e-05/1.642, allocations: 32.05 kB / 1.596 GB, free: 7.25 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/1.643, allocations: 135.2 kB / 1.596 GB, free: 7.117 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.848e-05/1.644, allocations: 55.94 kB / 1.596 GB, free: 7.062 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002873/1.644, allocations: 243.8 kB / 1.596 GB, free: 6.816 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000448/1.644, allocations: 201.4 kB / 1.596 GB, free: 6.617 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005537/1.645, allocations: 164 kB / 1.597 GB, free: 6.453 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/1.645, allocations: 7.984 kB / 1.597 GB, free: 6.445 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.645, allocations: 0 / 1.597 GB, free: 6.445 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.645, allocations: 11.92 kB / 1.597 GB, free: 6.434 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003905/1.649, allocations: 1.862 MB / 1.598 GB, free: 4.461 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.649, allocations: 4 kB / 1.598 GB, free: 4.457 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/1.649, allocations: 51.89 kB / 1.598 GB, free: 4.406 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/1.649, allocations: 8 kB / 1.598 GB, free: 4.398 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/1.649, allocations: 8 kB / 1.598 GB, free: 4.391 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.279e-05/1.649, allocations: 15.92 kB / 1.598 GB, free: 4.375 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.649, allocations: 7.938 kB / 1.598 GB, free: 4.367 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/1.65, allocations: 0.5724 MB / 1.599 GB, free: 3.723 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006369/1.651, allocations: 326.4 kB / 1.599 GB, free: 3.383 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003919/1.651, allocations: 7.984 kB / 1.599 GB, free: 3.375 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009106/1.652, allocations: 51.95 kB / 1.599 GB, free: 3.324 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/1.652, allocations: 19.92 kB / 1.599 GB, free: 3.305 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/1.652, allocations: 8 kB / 1.599 GB, free: 3.297 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002646/1.655, allocations: 1.559 MB / 1.601 GB, free: 1.727 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.5e-07/1.655, allocations: 0 / 1.601 GB, free: 1.727 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.00287/1.658, allocations: 0.8192 MB / 1.602 GB, free: 0.9062 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * 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.002431/1.66, allocations: 1.448 MB / 1.603 GB, free: 15.38 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002946/1.663, allocations: 1.445 MB / 1.605 GB, free: 13.94 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.663, allocations: 0 / 1.605 GB, free: 13.94 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003286/1.664, allocations: 125.7 kB / 1.605 GB, free: 13.82 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004305/1.668, allocations: 1.074 MB / 1.606 GB, free: 12.77 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02291/1.691, allocations: 13.69 MB / 1.619 GB, free: 14.41 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/1.692, allocations: 1.485 MB / 1.621 GB, free: 12.89 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001793/1.694, allocations: 457 kB / 1.621 GB, free: 12.45 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/1.695, allocations: 0.7258 MB / 1.622 GB, free: 11.72 MB / 1.311 GB Notification: Performance of SimCode: time 3.135e-06/1.695, allocations: 0 / 1.622 GB, free: 11.72 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09308/1.788, allocations: 52.59 MB / 1.673 GB, free: 7.656 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/12.71, allocations: 13.45 kB / 1.673 GB, free: 7.648 MB / 1.357 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches