Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.001758/0.001758, allocations: 110 kB / 18.93 MB, free: 2.945 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.002143/0.002143, allocations: 192.1 kB / 22.23 MB, free: 5.16 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.5/1.5, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 3.037/3.037, allocations: 443.4 MB / 0.7321 GB, free: 12.33 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 63.88 kB / 1.061 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9106/0.9126, allocations: 160.8 MB / 1.218 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.04037/0.953, allocations: 21.57 MB / 1.24 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02483/0.9778, allocations: 7.955 MB / 1.247 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/0.9806, allocations: 75.62 kB / 1.247 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.006535/0.9871, allocations: 1.414 MB / 1.249 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005024/0.9921, allocations: 1.011 MB / 1.25 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00925/1.001, allocations: 2.102 MB / 1.252 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.009472/1.011, allocations: 4.339 MB / 1.256 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008588/1.019, allocations: 2.947 MB / 1.259 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004663/1.024, allocations: 1.894 MB / 1.261 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006401/1.03, allocations: 2.318 MB / 1.263 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001611/1.032, allocations: 428 kB / 1.263 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003919/1.036, allocations: 0.9518 MB / 1.264 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003606/1.04, allocations: 1.703 MB / 1.266 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.004857/1.044, allocations: 1.712 MB / 1.268 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01178/1.056, allocations: 6.203 MB / 1.274 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/1.056, allocations: 0 / 1.274 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/1.056, allocations: 0 / 1.274 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002568/1.057, allocations: 3.938 kB / 1.274 GB, free: 14.51 MB / 0.9825 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.01079/1.067, allocations: 3.117 MB / 1.277 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.067, allocations: 8.031 kB / 1.277 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004582/1.072, allocations: 0.76 MB / 1.278 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004481/1.076, allocations: 1.571 MB / 1.279 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/1.077, allocations: 218.2 kB / 1.279 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/1.078, allocations: 292.3 kB / 1.28 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/1.091, allocations: 5.086 MB / 1.285 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-05/1.091, allocations: 7.938 kB / 1.285 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004124/1.092, allocations: 123.9 kB / 1.285 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002761/1.092, allocations: 204.6 kB / 1.285 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008765/1.101, allocations: 4.228 MB / 1.289 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0364/1.137, allocations: 22.96 MB / 1.311 GB, free: 5.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003446/1.141, allocations: 1.673 MB / 1.313 GB, free: 3.789 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/1.142, allocations: 1.068 MB / 1.314 GB, free: 2.711 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/1.143, allocations: 113.7 kB / 1.314 GB, free: 2.582 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/1.143, allocations: 43.22 kB / 1.314 GB, free: 2.531 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.226e-06/1.143, allocations: 0 / 1.314 GB, free: 2.531 MB / 1.014 GB Notification: Performance of matching and sorting (n=87): time 0.00753/1.15, allocations: 4.114 MB / 1.318 GB, free: 14.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/1.15, allocations: 141.2 kB / 1.318 GB, free: 14.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/1.152, allocations: 0.8721 MB / 1.319 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/1.152, allocations: 41.7 kB / 1.319 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009688/1.153, allocations: 1.201 MB / 1.32 GB, free: 12.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003787/1.153, allocations: 325.2 kB / 1.321 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004899/1.154, allocations: 278.7 kB / 1.321 GB, free: 11.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002622/1.154, allocations: 406.7 kB / 1.321 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/1.155, allocations: 0.8296 MB / 1.322 GB, free: 10.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/1.157, allocations: 1.306 MB / 1.323 GB, free: 8.711 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/1.161, allocations: 2.167 MB / 1.326 GB, free: 6.348 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/1.161, allocations: 4 kB / 1.326 GB, free: 6.344 MB / 1.029 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004026/1.165, allocations: 2.215 MB / 1.328 GB, free: 4.125 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/1.165, allocations: 12 kB / 1.328 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.713e-05/1.165, allocations: 16.91 kB / 1.328 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.001e-05/1.165, allocations: 23.98 kB / 1.328 GB, free: 4.074 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/1.166, allocations: 415.2 kB / 1.328 GB, free: 3.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.18e-05/1.167, allocations: 27.92 kB / 1.328 GB, free: 3.641 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/1.168, allocations: 219.4 kB / 1.328 GB, free: 3.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/1.168, allocations: 67.97 kB / 1.329 GB, free: 3.359 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003131/1.171, allocations: 1.673 MB / 1.33 GB, free: 1.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001604/1.173, allocations: 1.19 MB / 1.331 GB, free: 260 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002755/1.176, allocations: 1.898 MB / 1.333 GB, free: 14.14 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.329e-05/1.176, allocations: 7.938 kB / 1.333 GB, free: 14.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003702/1.179, allocations: 1.934 MB / 1.335 GB, free: 12.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.179, allocations: 8 kB / 1.335 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/1.179, allocations: 23.92 kB / 1.335 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001063/1.179, allocations: 27.94 kB / 1.335 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/1.181, allocations: 359.4 kB / 1.335 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.311e-05/1.181, allocations: 31.86 kB / 1.336 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.182, allocations: 183.6 kB / 1.336 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.182, allocations: 63.98 kB / 1.336 GB, free: 11.52 MB / 1.045 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.0004895/1.183, allocations: 267.7 kB / 1.336 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/1.183, allocations: 103.3 kB / 1.336 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00326/1.186, allocations: 1.85 MB / 1.338 GB, free: 9.281 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/1.186, allocations: 16 kB / 1.338 GB, free: 9.266 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.186, allocations: 0 / 1.338 GB, free: 9.266 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/1.186, allocations: 3.984 kB / 1.338 GB, free: 9.262 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/1.203, allocations: 9.596 MB / 1.347 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.203, allocations: 16.06 kB / 1.347 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.204, allocations: 303.5 kB / 1.348 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-05/1.204, allocations: 19.98 kB / 1.348 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.019e-05/1.204, allocations: 32 kB / 1.348 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.181e-05/1.204, allocations: 23.88 kB / 1.348 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.619e-05/1.204, allocations: 19.88 kB / 1.348 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003503/1.207, allocations: 2.403 MB / 1.35 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009473/1.208, allocations: 380.1 kB / 1.35 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/1.209, allocations: 39.92 kB / 1.35 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.21, allocations: 147.7 kB / 1.351 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/1.21, allocations: 91.58 kB / 1.351 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.728e-05/1.21, allocations: 36 kB / 1.351 GB, free: 11.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001142/1.211, allocations: 0.6161 MB / 1.351 GB, free: 11.14 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.211, allocations: 0 / 1.351 GB, free: 11.14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002795/1.214, allocations: 0.75 MB / 1.352 GB, free: 10.39 MB / 1.061 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.0002943/1.214, allocations: 154.9 kB / 1.352 GB, free: 10.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004991/1.219, allocations: 2.764 MB / 1.355 GB, free: 7.465 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/1.219, allocations: 1.375 kB / 1.355 GB, free: 7.465 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/1.221, allocations: 0.8841 MB / 1.356 GB, free: 6.582 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/1.222, allocations: 313.9 kB / 1.356 GB, free: 6.297 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008899/1.231, allocations: 5.057 MB / 1.361 GB, free: 1.051 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/1.234, allocations: 2.123 MB / 1.363 GB, free: 14.89 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002003/1.236, allocations: 0.7501 MB / 1.364 GB, free: 14.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/1.236, allocations: 87.36 kB / 1.364 GB, free: 14.05 MB / 1.076 GB Notification: Performance of SimCode: time 1.392e-06/1.236, allocations: 0 / 1.364 GB, free: 14.05 MB / 1.076 GB Notification: Performance of Templates: time 0.03693/1.273, allocations: 19.3 MB / 1.383 GB, free: 10.91 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.267625231295824]