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.001652/0.001652, allocations: 116.7 kB / 17.13 MB, free: 5.758 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.001883/0.001883, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.438/1.438, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001973/0.001973, allocations: 71.89 kB / 1.057 GB, free: 2.039 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3463, allocations: 160.7 MB / 1.214 GB, free: 1.008 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02727/0.3736, allocations: 20.81 MB / 1.234 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01488/0.3885, allocations: 7.78 MB / 1.242 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002394/0.3909, allocations: 63.81 kB / 1.242 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004267/0.3952, allocations: 1.373 MB / 1.243 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.3985, allocations: 1.027 MB / 1.244 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005923/0.4044, allocations: 1.994 MB / 1.246 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006558/0.411, allocations: 4.331 MB / 1.251 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006973/0.4179, allocations: 4.49 MB / 1.255 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003344/0.4213, allocations: 1.866 MB / 1.257 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004399/0.4257, allocations: 2.329 MB / 1.259 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001308/0.427, allocations: 424 kB / 1.259 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.4297, allocations: 0.9557 MB / 1.26 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.7509/1.181, allocations: 1.687 MB / 1.262 GB, free: 20.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003906/1.185, allocations: 1.72 MB / 1.264 GB, free: 20.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009277/1.194, allocations: 6.2 MB / 1.27 GB, free: 19.69 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.194, allocations: 0 / 1.27 GB, free: 19.69 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.395e-06/1.194, allocations: 2.875 kB / 1.27 GB, free: 19.69 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002246/1.194, allocations: 0 / 1.27 GB, free: 19.69 MB / 0.9981 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.009772/1.204, allocations: 3.114 MB / 1.273 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/1.204, allocations: 10.44 kB / 1.273 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004448/1.208, allocations: 0.7632 MB / 1.274 GB, free: 18.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004755/1.213, allocations: 1.573 MB / 1.275 GB, free: 17.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003608/1.213, allocations: 222.5 kB / 1.275 GB, free: 17.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001744/1.215, allocations: 285 kB / 1.276 GB, free: 17.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01478/1.23, allocations: 5.079 MB / 1.281 GB, free: 17.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/1.23, allocations: 12.03 kB / 1.281 GB, free: 17.38 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004586/1.231, allocations: 122.1 kB / 1.281 GB, free: 17.38 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004282/1.231, allocations: 212.1 kB / 1.281 GB, free: 17.38 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/1.241, allocations: 4.225 MB / 1.285 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0276/1.269, allocations: 22.96 MB / 1.307 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/1.272, allocations: 1.661 MB / 1.309 GB, free: 240 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/1.274, allocations: 1.098 MB / 1.31 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/1.274, allocations: 98.42 kB / 1.31 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/1.274, allocations: 47.89 kB / 1.31 GB, free: 15.76 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.076e-06/1.274, allocations: 0 / 1.31 GB, free: 15.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=87): time 0.007105/1.281, allocations: 4.121 MB / 1.314 GB, free: 13.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.281, allocations: 139 kB / 1.314 GB, free: 13.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/1.283, allocations: 0.8702 MB / 1.315 GB, free: 13.13 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/1.283, allocations: 42.11 kB / 1.315 GB, free: 13.09 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000816/1.284, allocations: 1.2 MB / 1.316 GB, free: 12.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/1.284, allocations: 324.8 kB / 1.317 GB, free: 11.93 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004791/1.284, allocations: 277.2 kB / 1.317 GB, free: 11.81 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002136/1.285, allocations: 403.2 kB / 1.317 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/1.286, allocations: 0.8288 MB / 1.318 GB, free: 11.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/1.288, allocations: 1.315 MB / 1.32 GB, free: 10.28 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003098/1.291, allocations: 2.165 MB / 1.322 GB, free: 9.094 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/1.291, allocations: 4.188 kB / 1.322 GB, free: 9.094 MB / 1.014 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003756/1.295, allocations: 2.214 MB / 1.324 GB, free: 8.344 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/1.295, allocations: 11.97 kB / 1.324 GB, free: 8.344 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/1.295, allocations: 18.22 kB / 1.324 GB, free: 8.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.882e-05/1.295, allocations: 20.56 kB / 1.324 GB, free: 8.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/1.296, allocations: 415.2 kB / 1.324 GB, free: 8.328 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.003e-05/1.296, allocations: 33.33 kB / 1.324 GB, free: 8.328 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/1.298, allocations: 218.1 kB / 1.324 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/1.298, allocations: 62.25 kB / 1.325 GB, free: 8.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002894/1.301, allocations: 1.678 MB / 1.326 GB, free: 7.629 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001568/1.302, allocations: 1.187 MB / 1.327 GB, free: 6.746 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002647/1.305, allocations: 1.904 MB / 1.329 GB, free: 5.633 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.769e-06/1.305, allocations: 3.938 kB / 1.329 GB, free: 5.633 MB / 1.014 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003403/1.309, allocations: 1.936 MB / 1.331 GB, free: 4.984 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.309, allocations: 11 kB / 1.331 GB, free: 4.984 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/1.309, allocations: 15.75 kB / 1.331 GB, free: 4.984 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/1.309, allocations: 22.5 kB / 1.331 GB, free: 4.984 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/1.31, allocations: 371.4 kB / 1.332 GB, free: 4.969 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-05/1.31, allocations: 35.42 kB / 1.332 GB, free: 4.965 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/1.312, allocations: 176.1 kB / 1.332 GB, free: 4.918 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/1.312, allocations: 62.95 kB / 1.332 GB, free: 4.91 MB / 1.014 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.0005278/1.312, allocations: 269.5 kB / 1.332 GB, free: 4.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/1.313, allocations: 107.2 kB / 1.332 GB, free: 4.625 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00322/1.316, allocations: 1.853 MB / 1.334 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/1.316, allocations: 8.906 kB / 1.334 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.316, allocations: 5.469 kB / 1.334 GB, free: 3.926 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/1.316, allocations: 4.938 kB / 1.334 GB, free: 3.926 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/1.333, allocations: 9.593 MB / 1.343 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/1.333, allocations: 10.59 kB / 1.343 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/1.334, allocations: 311.3 kB / 1.344 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.172e-05/1.334, allocations: 15.44 kB / 1.344 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-05/1.334, allocations: 30.34 kB / 1.344 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.209e-05/1.334, allocations: 20.31 kB / 1.344 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-05/1.334, allocations: 20.97 kB / 1.344 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003444/1.337, allocations: 2.41 MB / 1.346 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007962/1.338, allocations: 379.7 kB / 1.346 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/1.338, allocations: 29.98 kB / 1.346 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.34, allocations: 144.7 kB / 1.347 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/1.34, allocations: 93.02 kB / 1.347 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.345e-05/1.34, allocations: 41.5 kB / 1.347 GB, free: 12.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001096/1.341, allocations: 0.6152 MB / 1.347 GB, free: 11.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/1.341, allocations: 4 kB / 1.347 GB, free: 11.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00338/1.344, allocations: 0.7537 MB / 1.348 GB, free: 11.63 MB / 1.029 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.0002981/1.345, allocations: 141.3 kB / 1.348 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004553/1.349, allocations: 2.754 MB / 1.351 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/1.349, allocations: 3 kB / 1.351 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/1.35, allocations: 0.8947 MB / 1.352 GB, free: 9.867 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/1.352, allocations: 307.3 kB / 1.352 GB, free: 9.734 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008797/1.361, allocations: 5.508 MB / 1.357 GB, free: 6.438 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002162/1.363, allocations: 2.19 MB / 1.36 GB, free: 4.984 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006693/1.364, allocations: 98.06 kB / 1.36 GB, free: 4.965 MB / 1.029 GB Notification: Performance of SimCode: time 1.192e-06/1.364, allocations: 0 / 1.36 GB, free: 4.965 MB / 1.029 GB Notification: Performance of Templates: time 0.04543/1.409, allocations: 28.31 MB / 1.387 GB, free: 11.37 MB / 1.061 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.156830457039177]