Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001756/0.001756, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002147/0.002147, allocations: 211.5 kB / 22.99 MB, free: 4.984 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.163/3.163, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [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.002016/0.002016, allocations: 70.7 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2866, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005995/0.2926, allocations: 4.145 MB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00374/0.2964, allocations: 2.315 MB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.2965, allocations: 23.75 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.2976, allocations: 381.2 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007532/0.2984, allocations: 386.1 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000685/0.2991, allocations: 319.2 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007237/0.2998, allocations: 0.683 MB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.3002, allocations: 238 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.3005, allocations: 267 kB / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.3009, allocations: 278.8 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.903e-05/0.301, allocations: 32 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005591/0.3015, allocations: 387.1 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.3017, allocations: 151.5 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.3019, allocations: 202.9 kB / 1.337 GB, free: 7.219 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008854/0.3028, allocations: 0.7316 MB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3028, allocations: 3.938 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3028, allocations: 0 / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.3028, allocations: 0 / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001164/0.304, allocations: 0.7265 MB / 1.338 GB, free: 5.719 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.304, allocations: 12.03 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.3053, allocations: 188.4 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.306, allocations: 373.6 kB / 1.339 GB, free: 5.133 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.306, allocations: 21.38 kB / 1.339 GB, free: 5.113 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.505e-05/0.3061, allocations: 36.36 kB / 1.339 GB, free: 5.078 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.3073, allocations: 0.7302 MB / 1.339 GB, free: 4.238 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.3073, allocations: 7.938 kB / 1.339 GB, free: 4.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/0.3074, allocations: 16 kB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.074e-05/0.3075, allocations: 59.89 kB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007544/0.3082, allocations: 499.3 kB / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/0.3115, allocations: 3.157 MB / 1.343 GB, free: 392 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.3133, allocations: 0.5931 MB / 1.344 GB, free: 15.76 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.3135, allocations: 166.5 kB / 1.344 GB, free: 15.59 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3136, allocations: 4 kB / 1.344 GB, free: 15.59 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.3136, allocations: 46.44 kB / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 1.853e-06/0.3136, allocations: 0 / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002229/0.3158, allocations: 1.052 MB / 1.345 GB, free: 14.46 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.3159, allocations: 110.8 kB / 1.345 GB, free: 14.33 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.3163, allocations: 389.3 kB / 1.345 GB, free: 13.94 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.3163, allocations: 33.7 kB / 1.345 GB, free: 13.9 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.3165, allocations: 289.8 kB / 1.346 GB, free: 13.61 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.3167, allocations: 123 kB / 1.346 GB, free: 13.49 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.3168, allocations: 98.25 kB / 1.346 GB, free: 13.39 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.317, allocations: 354.8 kB / 1.346 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.3172, allocations: 181.1 kB / 1.346 GB, free: 12.85 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/0.3177, allocations: 368.2 kB / 1.347 GB, free: 12.4 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007727/0.3184, allocations: 0.5912 MB / 1.347 GB, free: 11.72 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3184, allocations: 8 kB / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00111/0.3195, allocations: 0.6715 MB / 1.348 GB, free: 11.02 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3196, allocations: 10.03 kB / 1.348 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3196, allocations: 4 kB / 1.348 GB, free: 11.01 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000367/0.3199, allocations: 102.5 kB / 1.348 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.3204, allocations: 111.8 kB / 1.348 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003605/0.324, allocations: 3.975 MB / 1.352 GB, free: 6.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.3243, allocations: 27.97 kB / 1.352 GB, free: 6.484 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.3243, allocations: 27.94 kB / 1.352 GB, free: 6.457 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002554/0.3246, allocations: 198.1 kB / 1.352 GB, free: 6.254 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3247, allocations: 51.66 kB / 1.352 GB, free: 6.203 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000946/0.3256, allocations: 0.5107 MB / 1.353 GB, free: 5.68 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3256, allocations: 4 kB / 1.353 GB, free: 5.676 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3257, allocations: 4 kB / 1.353 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.3257, allocations: 7.922 kB / 1.353 GB, free: 5.664 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.3275, allocations: 1.143 MB / 1.354 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3275, allocations: 3.938 kB / 1.354 GB, free: 4.441 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.3278, allocations: 68.17 kB / 1.354 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/0.3281, allocations: 90.5 kB / 1.354 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.3281, allocations: 8 kB / 1.354 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00345/0.3315, allocations: 3.969 MB / 1.358 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3316, allocations: 4 kB / 1.358 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009514/0.3325, allocations: 0.7779 MB / 1.359 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.3327, allocations: 83.56 kB / 1.359 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.3327, allocations: 11.94 kB / 1.359 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.3331, allocations: 23.97 kB / 1.359 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/0.3331, allocations: 39.83 kB / 1.359 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.3331, allocations: 8 kB / 1.359 GB, free: 14.99 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000275/0.3334, allocations: 263.1 kB / 1.359 GB, free: 14.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3334, allocations: 288 / 1.359 GB, free: 14.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006706/0.3341, allocations: 124 kB / 1.359 GB, free: 14.61 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001318/0.3342, allocations: 112.1 kB / 1.359 GB, free: 14.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.3354, allocations: 0.7781 MB / 1.36 GB, free: 13.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3354, allocations: 3.938 kB / 1.36 GB, free: 13.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007425/0.3362, allocations: 0.5396 MB / 1.361 GB, free: 13.1 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008704/0.3371, allocations: 131.4 kB / 1.361 GB, free: 12.97 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.3385, allocations: 0.9171 MB / 1.362 GB, free: 11.99 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.3388, allocations: 264.2 kB / 1.362 GB, free: 11.71 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002407/0.339, allocations: 96.34 kB / 1.362 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.573e-05/0.3391, allocations: 39.42 kB / 1.362 GB, free: 11.57 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.3391, allocations: 0 / 1.362 GB, free: 11.57 MB / 1.061 GB Notification: Performance of Templates: time 0.01214/0.3513, allocations: 6.569 MB / 1.368 GB, free: 5.137 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.54454068900668]