Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.00132/0.00132, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001512/0.001512, allocations: 161.3 kB / 23.01 MB, free: 4.602 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.42/1.42, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.1 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 2.855/2.855, allocations: 394.2 MB / 0.6387 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [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.00211/0.00211, allocations: 67.91 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9023/0.9044, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02212/0.9265, allocations: 20.02 MB / 1.206 GB, free: 3.855 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.9399, allocations: 7.673 MB / 1.214 GB, free: 14.89 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.9422, allocations: 76.34 kB / 1.214 GB, free: 14.86 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00408/0.9463, allocations: 1.355 MB / 1.215 GB, free: 14.1 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003785/0.9501, allocations: 1.023 MB / 1.216 GB, free: 13.51 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007209/0.9573, allocations: 2.006 MB / 1.218 GB, free: 12.43 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.006716/0.964, allocations: 4.329 MB / 1.222 GB, free: 10.54 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005914/0.9699, allocations: 3.005 MB / 1.225 GB, free: 9.023 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00383/0.9738, allocations: 1.899 MB / 1.227 GB, free: 8.168 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004899/0.9787, allocations: 2.2 MB / 1.229 GB, free: 7.344 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001823/0.9805, allocations: 426.9 kB / 1.23 GB, free: 7.344 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003693/0.9842, allocations: 0.8843 MB / 1.23 GB, free: 7.18 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004397/0.9886, allocations: 1.693 MB / 1.232 GB, free: 6.465 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005382/0.994, allocations: 1.397 MB / 1.233 GB, free: 5.66 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.011/1.005, allocations: 6.228 MB / 1.24 GB, free: 2.43 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.005, allocations: 0 / 1.24 GB, free: 2.43 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.883e-06/1.005, allocations: 0 / 1.24 GB, free: 2.43 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001934/1.005, allocations: 0 / 1.24 GB, free: 2.43 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.01053/1.016, allocations: 3.037 MB / 1.243 GB, free: 384 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/1.016, allocations: 9.562 kB / 1.243 GB, free: 384 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004772/1.021, allocations: 0.7695 MB / 1.243 GB, free: 15.98 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00463/1.025, allocations: 1.543 MB / 1.245 GB, free: 15.03 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/1.025, allocations: 216.3 kB / 1.245 GB, free: 14.93 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/1.027, allocations: 293.7 kB / 1.245 GB, free: 14.83 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/1.042, allocations: 5.314 MB / 1.25 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001439/1.042, allocations: 12.08 kB / 1.25 GB, free: 11.45 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001188/1.043, allocations: 128.5 kB / 1.251 GB, free: 11.35 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003513/1.043, allocations: 206.3 kB / 1.251 GB, free: 11.3 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/1.054, allocations: 4.216 MB / 1.255 GB, free: 9.145 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02788/1.082, allocations: 14.36 MB / 1.269 GB, free: 14.04 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003365/1.085, allocations: 1.657 MB / 1.271 GB, free: 13.12 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/1.087, allocations: 1.069 MB / 1.272 GB, free: 12.55 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/1.087, allocations: 23.05 kB / 1.272 GB, free: 12.54 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/1.087, allocations: 44.66 kB / 1.272 GB, free: 12.49 MB / 1.123 GB Notification: Performance of pre-optimization done (n=84): time 3.146e-06/1.087, allocations: 4 kB / 1.272 GB, free: 12.49 MB / 1.123 GB Notification: Performance of matching and sorting (n=87): time 0.007973/1.095, allocations: 4.108 MB / 1.276 GB, free: 9.914 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.427e-05/1.095, allocations: 139.6 kB / 1.276 GB, free: 9.758 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/1.096, allocations: 0.8108 MB / 1.277 GB, free: 9.195 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/1.097, allocations: 41.7 kB / 1.277 GB, free: 9.148 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009126/1.097, allocations: 1.205 MB / 1.278 GB, free: 7.93 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003538/1.098, allocations: 325.2 kB / 1.278 GB, free: 7.609 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004977/1.098, allocations: 278.8 kB / 1.278 GB, free: 7.332 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002148/1.099, allocations: 394.7 kB / 1.279 GB, free: 6.938 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/1.1, allocations: 0.8257 MB / 1.28 GB, free: 6.109 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/1.102, allocations: 1.536 MB / 1.281 GB, free: 4.289 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003322/1.105, allocations: 2.171 MB / 1.283 GB, free: 1.934 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/1.105, allocations: 4 kB / 1.283 GB, free: 1.93 MB / 1.123 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004105/1.109, allocations: 2.207 MB / 1.285 GB, free: 15.71 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/1.109, allocations: 14.66 kB / 1.285 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/1.109, allocations: 12 kB / 1.285 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.011e-05/1.11, allocations: 20 kB / 1.285 GB, free: 15.66 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/1.111, allocations: 423.9 kB / 1.286 GB, free: 15.25 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-05/1.111, allocations: 39.78 kB / 1.286 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/1.113, allocations: 211.4 kB / 1.286 GB, free: 15 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/1.113, allocations: 55.98 kB / 1.286 GB, free: 14.95 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003212/1.116, allocations: 1.685 MB / 1.288 GB, free: 13.26 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001823/1.118, allocations: 1.416 MB / 1.289 GB, free: 11.55 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00284/1.121, allocations: 1.898 MB / 1.291 GB, free: 9.449 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.62e-05/1.121, allocations: 8 kB / 1.291 GB, free: 9.441 MB / 1.139 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003552/1.125, allocations: 1.923 MB / 1.293 GB, free: 7.508 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.125, allocations: 15.94 kB / 1.293 GB, free: 7.492 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/1.125, allocations: 12 kB / 1.293 GB, free: 7.48 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/1.125, allocations: 24 kB / 1.293 GB, free: 7.457 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/1.126, allocations: 367.3 kB / 1.293 GB, free: 7.098 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.176e-05/1.126, allocations: 31.92 kB / 1.293 GB, free: 7.066 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/1.128, allocations: 175.5 kB / 1.293 GB, free: 6.895 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/1.128, allocations: 59.98 kB / 1.293 GB, free: 6.836 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.0004661/1.128, allocations: 267.8 kB / 1.294 GB, free: 6.566 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003651/1.129, allocations: 99.33 kB / 1.294 GB, free: 6.469 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/1.132, allocations: 1.853 MB / 1.296 GB, free: 4.602 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.132, allocations: 8 kB / 1.296 GB, free: 4.594 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.006e-05/1.132, allocations: 4 kB / 1.296 GB, free: 4.59 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/1.132, allocations: 7.984 kB / 1.296 GB, free: 4.582 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/1.146, allocations: 8.57 MB / 1.304 GB, free: 11.82 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-05/1.146, allocations: 12 kB / 1.304 GB, free: 11.81 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.147, allocations: 315.4 kB / 1.304 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.999e-05/1.147, allocations: 16 kB / 1.304 GB, free: 11.49 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.32e-05/1.147, allocations: 28.75 kB / 1.304 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.929e-05/1.147, allocations: 23.94 kB / 1.304 GB, free: 11.44 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/1.147, allocations: 19.88 kB / 1.304 GB, free: 11.42 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003222/1.151, allocations: 2.403 MB / 1.307 GB, free: 8.855 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008357/1.151, allocations: 303.1 kB / 1.307 GB, free: 8.559 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/1.152, allocations: 35.92 kB / 1.307 GB, free: 8.523 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.153, allocations: 139.8 kB / 1.307 GB, free: 8.387 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/1.153, allocations: 99.52 kB / 1.307 GB, free: 8.289 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/1.153, allocations: 32 kB / 1.307 GB, free: 8.258 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009283/1.154, allocations: 0.5536 MB / 1.308 GB, free: 7.711 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.154, allocations: 0 / 1.308 GB, free: 7.711 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003176/1.157, allocations: 0.7577 MB / 1.309 GB, free: 6.953 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * 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.0002472/1.157, allocations: 138.9 kB / 1.309 GB, free: 6.809 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004722/1.162, allocations: 2.749 MB / 1.311 GB, free: 4.066 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/1.162, allocations: 8.188 kB / 1.311 GB, free: 4.059 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/1.164, allocations: 0.8882 MB / 1.312 GB, free: 3.172 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/1.165, allocations: 294.6 kB / 1.313 GB, free: 2.902 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009211/1.175, allocations: 5.059 MB / 1.318 GB, free: 13.65 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002557/1.177, allocations: 1.549 MB / 1.319 GB, free: 12.07 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001997/1.179, allocations: 0.7496 MB / 1.32 GB, free: 11.31 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/1.18, allocations: 84.47 kB / 1.32 GB, free: 11.23 MB / 1.17 GB Notification: Performance of SimCode: time 1.092e-06/1.18, allocations: 0 / 1.32 GB, free: 11.23 MB / 1.17 GB Notification: Performance of Templates: time 0.0326/1.212, allocations: 17.32 MB / 1.337 GB, free: 10.2 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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: 9.51930732501205]