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: translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 113 kB / 16.41 MB, free: 6.492 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.001678/0.001679, allocations: 183 kB / 17.34 MB, free: 5.762 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.506/1.506, allocations: 222.9 MB / 241 MB, free: 15.16 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.574/2.574, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8261/0.8275, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3496/1.177, allocations: 312.7 MB / 1.473 GB, free: 10.05 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.04235/1.22, allocations: 29.35 MB / 1.501 GB, free: 12.61 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003928/1.224, allocations: 79.62 kB / 1.501 GB, free: 12.53 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.007963/1.232, allocations: 2.428 MB / 1.504 GB, free: 10.09 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.009611/1.241, allocations: 3.306 MB / 1.507 GB, free: 6.77 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00803/1.249, allocations: 2.78 MB / 1.51 GB, free: 3.996 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.0124/1.262, allocations: 7.547 MB / 1.517 GB, free: 12.43 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003987/1.266, allocations: 2.095 MB / 1.519 GB, free: 10.29 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005856/1.272, allocations: 2.441 MB / 1.522 GB, free: 7.844 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003513/1.275, allocations: 1.538 MB / 1.523 GB, free: 6.305 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0008177/1.276, allocations: 252 kB / 1.523 GB, free: 6.059 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007729/1.284, allocations: 3.625 MB / 1.527 GB, free: 2.426 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001375/1.285, allocations: 0.8219 MB / 1.528 GB, free: 1.602 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002882/1.288, allocations: 1.392 MB / 1.529 GB, free: 208 kB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/1.298, allocations: 5.434 MB / 1.534 GB, free: 10.75 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.298, allocations: 4 kB / 1.534 GB, free: 10.75 MB / 1.264 GB Notification: Performance of FrontEnd: time 3.497e-06/1.298, allocations: 4 kB / 1.534 GB, free: 10.75 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001508/1.299, allocations: 0 / 1.534 GB, free: 10.75 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.007887/1.307, allocations: 2.927 MB / 1.537 GB, free: 7.746 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/1.307, allocations: 16.86 kB / 1.537 GB, free: 7.73 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006349/1.313, allocations: 0.9297 MB / 1.538 GB, free: 6.797 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/1.325, allocations: 5.742 MB / 1.544 GB, free: 1 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/1.325, allocations: 102.6 kB / 1.544 GB, free: 0.8984 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004097/1.325, allocations: 128 kB / 1.544 GB, free: 0.7734 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004257/1.329, allocations: 1.593 MB / 1.545 GB, free: 15.11 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/1.329, allocations: 3.938 kB / 1.545 GB, free: 15.11 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/1.33, allocations: 60 kB / 1.546 GB, free: 15.05 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-05/1.33, allocations: 46.5 kB / 1.546 GB, free: 15 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003689/1.333, allocations: 1.329 MB / 1.547 GB, free: 13.67 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.01273/1.346, allocations: 7.601 MB / 1.554 GB, free: 5.535 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/1.348, allocations: 0.6781 MB / 1.555 GB, free: 4.832 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006468/1.349, allocations: 265.3 kB / 1.555 GB, free: 4.57 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/1.349, allocations: 190.8 kB / 1.555 GB, free: 4.348 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/1.349, allocations: 34.56 kB / 1.555 GB, free: 4.305 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 2.435e-06/1.349, allocations: 0 / 1.555 GB, free: 4.305 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.003052/1.352, allocations: 1.046 MB / 1.556 GB, free: 3.211 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/1.352, allocations: 63.33 kB / 1.556 GB, free: 3.137 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0045/1.357, allocations: 2.36 MB / 1.559 GB, free: 0.7578 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/1.357, allocations: 33.7 kB / 1.559 GB, free: 0.7188 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.8028/2.16, allocations: 0.9573 MB / 1.56 GB, free: 236.1 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/2.16, allocations: 130.5 kB / 1.56 GB, free: 236.1 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006222/2.161, allocations: 257.9 kB / 1.56 GB, free: 236 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001188/2.161, allocations: 349.1 kB / 1.56 GB, free: 235.7 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/2.163, allocations: 0.5122 MB / 1.561 GB, free: 235.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/2.164, allocations: 0.7868 MB / 1.562 GB, free: 235.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/2.167, allocations: 1.119 MB / 1.563 GB, free: 235.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/2.167, allocations: 3.031 kB / 1.563 GB, free: 235.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003978/2.171, allocations: 1.635 MB / 1.564 GB, free: 235 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/2.171, allocations: 8.562 kB / 1.564 GB, free: 235 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/2.171, allocations: 7.75 kB / 1.564 GB, free: 235 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/2.171, allocations: 35.17 kB / 1.564 GB, free: 235 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/2.172, allocations: 243.2 kB / 1.565 GB, free: 235 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009176/2.173, allocations: 1.565 MB / 1.566 GB, free: 233.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/2.175, allocations: 235.3 kB / 1.566 GB, free: 233.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-05/2.175, allocations: 42.55 kB / 1.566 GB, free: 233.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00202/2.177, allocations: 1.015 MB / 1.567 GB, free: 233.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001241/2.178, allocations: 0.7812 MB / 1.568 GB, free: 233.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001783/2.18, allocations: 1.099 MB / 1.569 GB, free: 232.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.468e-06/2.18, allocations: 3.594 kB / 1.569 GB, free: 232.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.002925/2.183, allocations: 1.606 MB / 1.571 GB, free: 232.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/2.183, allocations: 12.23 kB / 1.571 GB, free: 232.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/2.183, allocations: 7.969 kB / 1.571 GB, free: 232.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.625e-05/2.183, allocations: 37.33 kB / 1.571 GB, free: 232.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/2.184, allocations: 234.1 kB / 1.571 GB, free: 232.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008162/2.185, allocations: 1.577 MB / 1.573 GB, free: 231.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/2.187, allocations: 167.4 kB / 1.573 GB, free: 231 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/2.187, allocations: 39.09 kB / 1.573 GB, free: 231 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.0002939/2.187, allocations: 231.4 kB / 1.573 GB, free: 230.9 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/2.188, allocations: 205.1 kB / 1.573 GB, free: 230.7 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/2.19, allocations: 0.7719 MB / 1.574 GB, free: 230.6 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/2.19, allocations: 3.594 kB / 1.574 GB, free: 230.6 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/2.19, allocations: 2.125 kB / 1.574 GB, free: 230.6 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/2.19, allocations: 1 kB / 1.574 GB, free: 230.6 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003627/2.193, allocations: 2.148 MB / 1.576 GB, free: 230.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/2.193, allocations: 1 kB / 1.576 GB, free: 230.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006155/2.194, allocations: 96.72 kB / 1.576 GB, free: 230.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.734e-05/2.194, allocations: 38.03 kB / 1.576 GB, free: 230.1 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/2.194, allocations: 11.8 kB / 1.576 GB, free: 230.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007641/2.195, allocations: 1.553 MB / 1.578 GB, free: 228.6 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/2.195, allocations: 6.547 kB / 1.578 GB, free: 228.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/2.196, allocations: 0.8872 MB / 1.579 GB, free: 228.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006776/2.197, allocations: 358.5 kB / 1.579 GB, free: 227.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/2.197, allocations: 10.28 kB / 1.579 GB, free: 227.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/2.198, allocations: 66.44 kB / 1.579 GB, free: 227.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/2.198, allocations: 24.05 kB / 1.579 GB, free: 227.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/2.198, allocations: 20.56 kB / 1.579 GB, free: 227.9 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002475/2.201, allocations: 1.642 MB / 1.581 GB, free: 227.8 MB / 1.279 GB Notification: Performance of sort global known variables: time 3.9e-07/2.201, allocations: 0.6562 kB / 1.581 GB, free: 227.8 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.00273/2.204, allocations: 0.8935 MB / 1.582 GB, free: 227.7 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.001021/2.205, allocations: 454.4 kB / 1.582 GB, free: 227.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003683/2.208, allocations: 1.817 MB / 1.584 GB, free: 227.4 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/2.208, allocations: 3.25 kB / 1.584 GB, free: 227.4 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006373/2.209, allocations: 352.9 kB / 1.584 GB, free: 227.3 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004666/2.214, allocations: 1.242 MB / 1.585 GB, free: 227.1 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00515/2.219, allocations: 3.381 MB / 1.589 GB, free: 225.9 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/2.22, allocations: 1.536 MB / 1.59 GB, free: 225.1 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/2.22, allocations: 148.2 kB / 1.59 GB, free: 225.1 MB / 1.279 GB Notification: Performance of SimCode: time 1.132e-06/2.22, allocations: 0 / 1.59 GB, free: 225.1 MB / 1.279 GB Notification: Performance of Templates: time 0.05795/2.278, allocations: 47.4 MB / 1.637 GB, free: 201.6 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (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 & ./Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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