Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 106.5 kB / 17.08 MB, free: 5.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.026/3.026, allocations: 489.3 MB / 0.7687 GB, free: 3.941 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: 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_latest_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_latest_Buildings.Fluid.FMI.Validation.HeaterFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 63.91 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3761/1.434, allocations: 312.8 MB / 1.568 GB, free: 14.86 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.04229/1.476, allocations: 29.37 MB / 1.597 GB, free: 1.395 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003703/1.48, allocations: 79.62 kB / 1.597 GB, free: 1.316 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.007526/1.487, allocations: 2.413 MB / 1.599 GB, free: 14.89 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.009816/1.497, allocations: 3.195 MB / 1.602 GB, free: 11.68 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.00751/1.505, allocations: 2.76 MB / 1.605 GB, free: 8.926 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01251/1.517, allocations: 7.337 MB / 1.612 GB, free: 1.578 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003769/1.521, allocations: 2.088 MB / 1.614 GB, free: 15.44 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005966/1.527, allocations: 2.531 MB / 1.617 GB, free: 12.9 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003587/1.53, allocations: 1.516 MB / 1.618 GB, free: 11.39 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.0005665/1.531, allocations: 260 kB / 1.618 GB, free: 11.13 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007851/1.539, allocations: 3.598 MB / 1.622 GB, free: 7.527 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.001218/1.54, allocations: 0.8297 MB / 1.623 GB, free: 6.695 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.002081/1.542, allocations: 1.4 MB / 1.624 GB, free: 5.289 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01013/1.552, allocations: 5.463 MB / 1.629 GB, free: 15.81 MB / 1.326 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.552, allocations: 0 / 1.629 GB, free: 15.81 MB / 1.326 GB Notification: Performance of FrontEnd: time 3.086e-06/1.552, allocations: 0 / 1.629 GB, free: 15.81 MB / 1.326 GB Notification: Performance of Transformations before backend: time 8.981e-05/1.553, allocations: 0 / 1.629 GB, free: 15.81 MB / 1.326 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.006003/1.559, allocations: 3.017 MB / 1.632 GB, free: 12.71 MB / 1.326 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/1.559, allocations: 11.98 kB / 1.632 GB, free: 12.7 MB / 1.326 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006004/1.565, allocations: 0.9505 MB / 1.633 GB, free: 11.75 MB / 1.326 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/1.576, allocations: 5.763 MB / 1.639 GB, free: 5.934 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/1.576, allocations: 102.6 kB / 1.639 GB, free: 5.832 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/1.577, allocations: 132 kB / 1.639 GB, free: 5.703 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003974/1.581, allocations: 1.593 MB / 1.641 GB, free: 4.043 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/1.581, allocations: 0 / 1.641 GB, free: 4.043 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/1.581, allocations: 56 kB / 1.641 GB, free: 3.988 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.799e-05/1.581, allocations: 46.5 kB / 1.641 GB, free: 3.941 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003459/1.584, allocations: 1.329 MB / 1.642 GB, free: 2.605 MB / 1.326 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.0122/1.597, allocations: 7.748 MB / 1.65 GB, free: 10.3 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/1.599, allocations: 0.6786 MB / 1.65 GB, free: 9.598 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006668/1.599, allocations: 252.7 kB / 1.651 GB, free: 9.348 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003116/1.6, allocations: 198.1 kB / 1.651 GB, free: 9.117 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/1.6, allocations: 38.56 kB / 1.651 GB, free: 9.07 MB / 1.342 GB Notification: Performance of pre-optimization done (n=35): time 2.465e-06/1.6, allocations: 0 / 1.651 GB, free: 9.07 MB / 1.342 GB Notification: Performance of matching and sorting (n=35): time 0.003012/1.603, allocations: 1.05 MB / 1.652 GB, free: 7.973 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/1.603, allocations: 63.33 kB / 1.652 GB, free: 7.898 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003689/1.606, allocations: 2.364 MB / 1.654 GB, free: 5.516 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/1.607, allocations: 33.7 kB / 1.654 GB, free: 5.477 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009597/1.608, allocations: 0.9704 MB / 1.655 GB, free: 4.496 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/1.608, allocations: 138.8 kB / 1.655 GB, free: 4.359 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004322/1.608, allocations: 250.5 kB / 1.656 GB, free: 4.109 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.608, allocations: 357.9 kB / 1.656 GB, free: 3.754 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/1.61, allocations: 0.5087 MB / 1.656 GB, free: 3.238 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/1.611, allocations: 0.7934 MB / 1.657 GB, free: 2.328 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/1.613, allocations: 1.117 MB / 1.658 GB, free: 1.117 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.613, allocations: 4 kB / 1.658 GB, free: 1.113 MB / 1.342 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003676/1.617, allocations: 1.633 MB / 1.66 GB, free: 15.45 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/1.617, allocations: 8 kB / 1.66 GB, free: 15.44 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.617, allocations: 8 kB / 1.66 GB, free: 15.43 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/1.617, allocations: 33.22 kB / 1.66 GB, free: 15.4 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.618, allocations: 243.6 kB / 1.66 GB, free: 15.16 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/1.62, allocations: 1.58 MB / 1.662 GB, free: 13.44 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/1.622, allocations: 250.6 kB / 1.662 GB, free: 13.19 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.593e-05/1.622, allocations: 39.98 kB / 1.662 GB, free: 13.15 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002168/1.624, allocations: 1.01 MB / 1.663 GB, free: 12.14 MB / 1.357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001464/1.626, allocations: 0.7833 MB / 1.664 GB, free: 11.24 MB / 1.357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002052/1.628, allocations: 1.097 MB / 1.665 GB, free: 10.05 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.242e-06/1.628, allocations: 8 kB / 1.665 GB, free: 10.04 MB / 1.357 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003539/1.631, allocations: 1.613 MB / 1.666 GB, free: 8.395 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.631, allocations: 16.02 kB / 1.666 GB, free: 8.379 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.631, allocations: 4 kB / 1.666 GB, free: 8.375 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001114/1.631, allocations: 36.84 kB / 1.666 GB, free: 8.336 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.633, allocations: 235.6 kB / 1.667 GB, free: 8.105 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/1.634, allocations: 1.572 MB / 1.668 GB, free: 6.398 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/1.636, allocations: 159.7 kB / 1.668 GB, free: 6.242 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.05e-05/1.636, allocations: 43.97 kB / 1.668 GB, free: 6.199 MB / 1.357 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.0003229/1.636, allocations: 228 kB / 1.669 GB, free: 5.969 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003501/1.636, allocations: 222.5 kB / 1.669 GB, free: 5.75 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/1.638, allocations: 0.7597 MB / 1.669 GB, free: 4.957 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/1.638, allocations: 7.938 kB / 1.67 GB, free: 4.949 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.638, allocations: 4 kB / 1.67 GB, free: 4.945 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.638, allocations: 7.984 kB / 1.67 GB, free: 4.938 MB / 1.357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/1.642, allocations: 2.153 MB / 1.672 GB, free: 2.684 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.643, allocations: 7.938 kB / 1.672 GB, free: 2.676 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006092/1.643, allocations: 95.86 kB / 1.672 GB, free: 2.582 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.863e-05/1.643, allocations: 28.84 kB / 1.672 GB, free: 2.551 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/1.643, allocations: 12.09 kB / 1.672 GB, free: 2.539 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/1.645, allocations: 1.564 MB / 1.673 GB, free: 0.8398 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.645, allocations: 3.938 kB / 1.673 GB, free: 0.8359 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/1.646, allocations: 0.8982 MB / 1.674 GB, free: 15.88 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006565/1.647, allocations: 375.3 kB / 1.675 GB, free: 15.49 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/1.647, allocations: 8 kB / 1.675 GB, free: 15.48 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009814/1.648, allocations: 67.92 kB / 1.675 GB, free: 15.42 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/1.648, allocations: 27.92 kB / 1.675 GB, free: 15.39 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/1.648, allocations: 19.97 kB / 1.675 GB, free: 15.37 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.002804/1.651, allocations: 1.639 MB / 1.676 GB, free: 13.72 MB / 1.373 GB Notification: Performance of sort global known variables: time 1.7e-07/1.651, allocations: 0 / 1.676 GB, free: 13.72 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.002456/1.654, allocations: 0.8854 MB / 1.677 GB, free: 12.84 MB / 1.373 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.0009797/1.655, allocations: 446.5 kB / 1.678 GB, free: 12.39 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.004104/1.659, allocations: 1.828 MB / 1.679 GB, free: 10.54 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.659, allocations: 0 / 1.679 GB, free: 10.54 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.0007503/1.66, allocations: 348 kB / 1.68 GB, free: 10.18 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005143/1.665, allocations: 1.249 MB / 1.681 GB, free: 8.969 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005891/1.671, allocations: 3.422 MB / 1.684 GB, free: 5.477 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/1.672, allocations: 1.537 MB / 1.686 GB, free: 3.906 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005154/1.673, allocations: 143.4 kB / 1.686 GB, free: 3.766 MB / 1.373 GB Notification: Performance of SimCode: time 6.01e-07/1.673, allocations: 0 / 1.686 GB, free: 3.766 MB / 1.373 GB Notification: Performance of Templates: time 0.0679/1.74, allocations: 47.35 MB / 1.732 GB, free: 4.582 MB / 1.42 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.973920323885977]