Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 117.7 kB / 17.13 MB, free: 6.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 209.8 kB / 20.09 MB, free: 3.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.607/1.607, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.977/2.977, allocations: 0.49 GB / 0.7923 GB, free: 1.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.FMI.Validation.HeaterFan") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 63.91 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155/1.157, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3975/1.554, allocations: 317.3 MB / 1.632 GB, free: 11.49 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.0422/1.596, allocations: 29.54 MB / 1.661 GB, free: 13.87 MB / 1.342 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007075/1.603, allocations: 107.2 kB / 1.661 GB, free: 13.77 MB / 1.342 GB Notification: Performance of NFTyping.typeComponents: time 0.009919/1.613, allocations: 2.457 MB / 1.663 GB, free: 11.3 MB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.01168/1.625, allocations: 3.318 MB / 1.666 GB, free: 7.969 MB / 1.342 GB Notification: Performance of NFTyping.typeClassSections: time 0.007983/1.633, allocations: 2.89 MB / 1.669 GB, free: 5.082 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.01247/1.646, allocations: 7.355 MB / 1.676 GB, free: 13.71 MB / 1.357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003496/1.649, allocations: 1.635 MB / 1.678 GB, free: 12.03 MB / 1.357 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006624/1.656, allocations: 2.609 MB / 1.681 GB, free: 9.41 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003864/1.659, allocations: 1.588 MB / 1.682 GB, free: 7.82 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.0006904/1.66, allocations: 256 kB / 1.682 GB, free: 7.57 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008369/1.669, allocations: 3.777 MB / 1.686 GB, free: 3.785 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.00154/1.67, allocations: 0.8411 MB / 1.687 GB, free: 2.941 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.002604/1.673, allocations: 1.4 MB / 1.688 GB, free: 1.535 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.01172/1.684, allocations: 5.463 MB / 1.694 GB, free: 12.05 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.684, allocations: 0 / 1.694 GB, free: 12.05 MB / 1.373 GB Notification: Performance of FrontEnd: time 1.804e-06/1.684, allocations: 0 / 1.694 GB, free: 12.05 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0001023/1.685, allocations: 0 / 1.694 GB, free: 12.05 MB / 1.373 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.006743/1.691, allocations: 3.023 MB / 1.696 GB, free: 8.957 MB / 1.373 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.691, allocations: 8.031 kB / 1.696 GB, free: 8.949 MB / 1.373 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006519/1.698, allocations: 0.9505 MB / 1.697 GB, free: 7.996 MB / 1.373 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/1.709, allocations: 5.771 MB / 1.703 GB, free: 2.172 MB / 1.373 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/1.71, allocations: 106.6 kB / 1.703 GB, free: 2.066 MB / 1.373 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002705/1.71, allocations: 132 kB / 1.703 GB, free: 1.938 MB / 1.373 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003669/1.713, allocations: 1.597 MB / 1.705 GB, free: 280 kB / 1.373 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/1.713, allocations: 7.938 kB / 1.705 GB, free: 272 kB / 1.373 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/1.714, allocations: 55.94 kB / 1.705 GB, free: 216 kB / 1.373 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.32e-05/1.714, allocations: 46.5 kB / 1.705 GB, free: 168 kB / 1.373 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003649/1.717, allocations: 1.321 MB / 1.706 GB, free: 14.84 MB / 1.389 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.01212/1.729, allocations: 7.748 MB / 1.714 GB, free: 6.527 MB / 1.389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/1.732, allocations: 0.6425 MB / 1.714 GB, free: 5.859 MB / 1.389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007014/1.732, allocations: 243.2 kB / 1.715 GB, free: 5.621 MB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003362/1.733, allocations: 194.2 kB / 1.715 GB, free: 5.395 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/1.733, allocations: 35.16 kB / 1.715 GB, free: 5.352 MB / 1.389 GB Notification: Performance of pre-optimization done (n=35): time 2.555e-06/1.733, allocations: 0 / 1.715 GB, free: 5.352 MB / 1.389 GB Notification: Performance of matching and sorting (n=35): time 0.003203/1.736, allocations: 1.052 MB / 1.716 GB, free: 4.254 MB / 1.389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/1.736, allocations: 59.34 kB / 1.716 GB, free: 4.184 MB / 1.389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/1.74, allocations: 2.365 MB / 1.718 GB, free: 1.801 MB / 1.389 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/1.74, allocations: 33.7 kB / 1.718 GB, free: 1.762 MB / 1.389 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009871/1.741, allocations: 0.9704 MB / 1.719 GB, free: 0.7812 MB / 1.389 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/1.741, allocations: 146.8 kB / 1.719 GB, free: 0.6367 MB / 1.389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004568/1.742, allocations: 250.5 kB / 1.72 GB, free: 396 kB / 1.389 GB Notification: Performance of setup shared object (initialization): time 0.0001821/1.742, allocations: 353.9 kB / 1.72 GB, free: 36 kB / 1.389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/1.743, allocations: 0.5165 MB / 1.72 GB, free: 15.51 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/1.745, allocations: 0.7949 MB / 1.721 GB, free: 14.6 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/1.747, allocations: 1.113 MB / 1.722 GB, free: 13.39 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/1.747, allocations: 3.938 kB / 1.722 GB, free: 13.39 MB / 1.404 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004112/1.751, allocations: 1.637 MB / 1.724 GB, free: 11.72 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/1.751, allocations: 8 kB / 1.724 GB, free: 11.71 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/1.751, allocations: 15.88 kB / 1.724 GB, free: 11.7 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/1.751, allocations: 36.84 kB / 1.724 GB, free: 11.66 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/1.753, allocations: 240 kB / 1.724 GB, free: 11.42 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/1.754, allocations: 1.572 MB / 1.726 GB, free: 9.703 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/1.756, allocations: 242.6 kB / 1.726 GB, free: 9.465 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.61e-05/1.756, allocations: 43.98 kB / 1.726 GB, free: 9.422 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002159/1.758, allocations: 1.014 MB / 1.727 GB, free: 8.406 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001463/1.76, allocations: 0.7816 MB / 1.728 GB, free: 7.512 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002134/1.762, allocations: 1.101 MB / 1.729 GB, free: 6.316 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.426e-06/1.762, allocations: 0 / 1.729 GB, free: 6.316 MB / 1.404 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003567/1.766, allocations: 1.62 MB / 1.73 GB, free: 4.664 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.766, allocations: 8.375 kB / 1.73 GB, free: 4.656 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.766, allocations: 12 kB / 1.73 GB, free: 4.645 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001005/1.766, allocations: 32.84 kB / 1.73 GB, free: 4.609 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.767, allocations: 239.7 kB / 1.731 GB, free: 4.375 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/1.768, allocations: 1.576 MB / 1.732 GB, free: 2.66 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/1.77, allocations: 167.5 kB / 1.732 GB, free: 2.5 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.022e-05/1.77, allocations: 40.05 kB / 1.732 GB, free: 2.461 MB / 1.404 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.0003807/1.771, allocations: 232.6 kB / 1.733 GB, free: 2.227 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/1.771, allocations: 222.5 kB / 1.733 GB, free: 2.008 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/1.773, allocations: 0.7589 MB / 1.734 GB, free: 1.215 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/1.773, allocations: 0 / 1.734 GB, free: 1.215 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/1.773, allocations: 4 kB / 1.734 GB, free: 1.211 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.773, allocations: 4 kB / 1.734 GB, free: 1.207 MB / 1.404 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/1.777, allocations: 2.154 MB / 1.736 GB, free: 14.95 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.777, allocations: 4.219 kB / 1.736 GB, free: 14.95 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000645/1.778, allocations: 103.8 kB / 1.736 GB, free: 14.84 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.028e-05/1.778, allocations: 32.78 kB / 1.736 GB, free: 14.81 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/1.778, allocations: 11.98 kB / 1.736 GB, free: 14.8 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/1.779, allocations: 1.556 MB / 1.737 GB, free: 13.1 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.779, allocations: 4 kB / 1.737 GB, free: 13.1 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/1.781, allocations: 0.8943 MB / 1.738 GB, free: 12.14 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006461/1.781, allocations: 367.5 kB / 1.739 GB, free: 11.77 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/1.782, allocations: 8 kB / 1.739 GB, free: 11.76 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.783, allocations: 63.94 kB / 1.739 GB, free: 11.7 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.214e-05/1.783, allocations: 35.84 kB / 1.739 GB, free: 11.66 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/1.783, allocations: 15.98 kB / 1.739 GB, free: 11.64 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.002854/1.786, allocations: 1.643 MB / 1.74 GB, free: 9.992 MB / 1.42 GB Notification: Performance of sort global known variables: time 1.01e-07/1.786, allocations: 0 / 1.74 GB, free: 9.992 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.002576/1.788, allocations: 0.8893 MB / 1.741 GB, free: 9.102 MB / 1.42 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.0009599/1.789, allocations: 446.5 kB / 1.742 GB, free: 8.656 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.00421/1.793, allocations: 1.707 MB / 1.743 GB, free: 6.926 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.793, allocations: 0 / 1.743 GB, free: 6.926 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.0007916/1.794, allocations: 344.2 kB / 1.744 GB, free: 6.578 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005337/1.8, allocations: 1.251 MB / 1.745 GB, free: 5.355 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006144/1.806, allocations: 3.428 MB / 1.748 GB, free: 1.859 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/1.807, allocations: 1.537 MB / 1.75 GB, free: 296 kB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005462/1.808, allocations: 139.4 kB / 1.75 GB, free: 156 kB / 1.42 GB Notification: Performance of SimCode: time 1.292e-06/1.808, allocations: 3.938 kB / 1.75 GB, free: 152 kB / 1.42 GB Notification: Performance of Templates: time 0.07039/1.878, allocations: 47.58 MB / 1.796 GB, free: 0.7656 MB / 1.467 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.787376744992798]