Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.Tanks.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.001476/0.001476, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.001736/0.001736, allocations: 161.3 kB / 22.76 MB, free: 1.652 MB / 18.57 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.515/1.515, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.346/3.346, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Tanks") translateModel(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Tanks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.44e-06/5.44e-06, allocations: 4 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.555e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Components/Tanks/Buffer.mo:9:3-12:41:writable] Warning: Parameter noTan.V has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Tanks): time 0.05706/0.05709, allocations: 38.25 MB / 0.9149 GB, free: 148 kB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01979/0.07688, allocations: 10.37 MB / 0.925 GB, free: 5.754 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/0.07915, allocations: 71.38 kB / 0.9251 GB, free: 5.684 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.08102, allocations: 440.9 kB / 0.9255 GB, free: 5.25 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.004294/0.08531, allocations: 1.239 MB / 0.9267 GB, free: 4.004 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002688/0.088, allocations: 0.7792 MB / 0.9275 GB, free: 3.223 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.003651/0.09165, allocations: 2.084 MB / 0.9295 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.09294, allocations: 0.5045 MB / 0.93 GB, free: 0.6094 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003934/0.09688, allocations: 1.267 MB / 0.9313 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.09816, allocations: 0.4945 MB / 0.9318 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0002347/0.0984, allocations: 64 kB / 0.9318 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.1001, allocations: 0.522 MB / 0.9323 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0004347/0.1006, allocations: 195.2 kB / 0.9325 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.000697/0.1013, allocations: 271.4 kB / 0.9328 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.1041, allocations: 1.274 MB / 0.934 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1041, allocations: 0 / 0.934 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1041, allocations: 0 / 0.934 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.136e-05/0.1041, allocations: 0 / 0.934 GB, free: 12.53 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002596/0.1067, allocations: 0.9867 MB / 0.935 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1068, allocations: 15.97 kB / 0.935 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004815/0.1072, allocations: 136.3 kB / 0.9351 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.1088, allocations: 0.6669 MB / 0.9358 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.1089, allocations: 41.38 kB / 0.9358 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.109, allocations: 48.38 kB / 0.9359 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.1103, allocations: 0.6381 MB / 0.9365 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.1103, allocations: 3.938 kB / 0.9365 GB, free: 9.895 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/0.1104, allocations: 24 kB / 0.9365 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.1104, allocations: 15.98 kB / 0.9365 GB, free: 9.855 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008348/0.1112, allocations: 379.7 kB / 0.9369 GB, free: 9.48 MB / 0.9011 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.003551/0.1148, allocations: 1.985 MB / 0.9388 GB, free: 7.434 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006645/0.1154, allocations: 229.9 kB / 0.939 GB, free: 7.203 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.1157, allocations: 120.7 kB / 0.9392 GB, free: 7.082 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001947/0.1176, allocations: 0.7422 MB / 0.9399 GB, free: 6.32 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.1177, allocations: 30.56 kB / 0.9399 GB, free: 6.281 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=20): time 1.804e-06/0.1177, allocations: 0 / 0.9399 GB, free: 6.281 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20): time 0.0008219/0.1185, allocations: 315.6 kB / 0.9402 GB, free: 5.969 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.1185, allocations: 63.3 kB / 0.9403 GB, free: 5.895 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007363/0.1193, allocations: 494.8 kB / 0.9408 GB, free: 5.402 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.1193, allocations: 37.64 kB / 0.9408 GB, free: 5.359 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/0.1197, allocations: 363.8 kB / 0.9411 GB, free: 5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.412e-05/0.1198, allocations: 75.31 kB / 0.9412 GB, free: 4.926 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.1199, allocations: 81.64 kB / 0.9413 GB, free: 4.84 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002347/0.1202, allocations: 362.7 kB / 0.9416 GB, free: 4.477 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.1204, allocations: 83.95 kB / 0.9417 GB, free: 4.395 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.1208, allocations: 344.3 kB / 0.942 GB, free: 3.969 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005721/0.1214, allocations: 343.9 kB / 0.9424 GB, free: 3.57 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.1214, allocations: 4 kB / 0.9424 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008514/0.1222, allocations: 404.7 kB / 0.9428 GB, free: 3.164 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.1222, allocations: 8 kB / 0.9428 GB, free: 3.156 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.1222, allocations: 4 kB / 0.9428 GB, free: 3.152 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.1223, allocations: 11.94 kB / 0.9428 GB, free: 3.141 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.1226, allocations: 71.84 kB / 0.9428 GB, free: 3.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/0.1226, allocations: 16.55 kB / 0.9429 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.1229, allocations: 39.78 kB / 0.9429 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.123, allocations: 20 kB / 0.9429 GB, free: 2.996 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (intFlo.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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 prepare postOptimizeDAE: time 0.000307/0.1233, allocations: 205.7 kB / 0.9431 GB, free: 2.785 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.1234, allocations: 59.67 kB / 0.9432 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007056/0.1241, allocations: 325.8 kB / 0.9435 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.1241, allocations: 8 kB / 0.9435 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.1242, allocations: 3.938 kB / 0.9435 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006925/0.1249, allocations: 490.8 kB / 0.944 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.1266, allocations: 0.8275 MB / 0.9448 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1266, allocations: 0 / 0.9448 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.1269, allocations: 43.91 kB / 0.9448 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.1269, allocations: 4 kB / 0.9448 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.1269, allocations: 8.047 kB / 0.9448 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.1269, allocations: 4 kB / 0.9448 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/0.1269, allocations: 11.92 kB / 0.9448 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.1279, allocations: 0.5379 MB / 0.9454 GB, free: 340 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.1282, allocations: 83.75 kB / 0.9454 GB, free: 256 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.779e-05/0.1282, allocations: 8 kB / 0.9455 GB, free: 248 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.1285, allocations: 15.92 kB / 0.9455 GB, free: 232 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.1286, allocations: 15.97 kB / 0.9455 GB, free: 216 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.1286, allocations: 12 kB / 0.9455 GB, free: 204 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005612/0.1291, allocations: 342.8 kB / 0.9458 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1291, allocations: 0 / 0.9458 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001133/0.1303, allocations: 235.3 kB / 0.946 GB, free: 15.64 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (tan.vol.dynBal.U,intFlo.y) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007766/0.1311, allocations: 290.6 kB / 0.9463 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006501/0.1317, allocations: 251.8 kB / 0.9466 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.1317, allocations: 0 / 0.9466 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.132, allocations: 119.8 kB / 0.9467 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.1335, allocations: 276.6 kB / 0.9469 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.1358, allocations: 1.037 MB / 0.948 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.1362, allocations: 299.5 kB / 0.9482 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003998/0.1366, allocations: 108.4 kB / 0.9483 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.1367, allocations: 48.48 kB / 0.9484 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of SimCode: time 8.02e-07/0.1367, allocations: 0 / 0.9484 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of Templates: time 0.02282/0.1595, allocations: 10.81 MB / 0.9589 GB, free: 2.574 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Tanks.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Tanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Tanks.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: 8.966413247981109]