Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.001362/0.001362, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001588/0.001588, allocations: 204.2 kB / 23 MB, free: 4.934 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.303/3.303, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") [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.002052/0.002052, allocations: 73.17 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4111, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.005368/0.4164, allocations: 2.821 MB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004114/0.4206, allocations: 2.041 MB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.4207, allocations: 3.938 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000896/0.4216, allocations: 227.1 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005831/0.4222, allocations: 219.1 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008663/0.423, allocations: 287.7 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005023/0.4235, allocations: 323 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/0.4239, allocations: 141.9 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.4242, allocations: 135.6 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.4246, allocations: 171.4 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.676e-05/0.4246, allocations: 20 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007969/0.4254, allocations: 407.2 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.4255, allocations: 95.7 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.4257, allocations: 95.58 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007861/0.4265, allocations: 0.4945 MB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4265, allocations: 0 / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4265, allocations: 0 / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.4265, allocations: 3.938 kB / 1.334 GB, free: 9.551 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001367/0.4278, allocations: 0.501 MB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.454e-05/0.4279, allocations: 12.03 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.429, allocations: 136.6 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.4295, allocations: 202.7 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.4295, allocations: 12.81 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.943e-05/0.4296, allocations: 28.11 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008547/0.4305, allocations: 423.6 kB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.4305, allocations: 0 / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.4305, allocations: 11.98 kB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.993e-05/0.4306, allocations: 23.98 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007753/0.4313, allocations: 379.4 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002478/0.4338, allocations: 1.352 MB / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008285/0.4347, allocations: 342.4 kB / 1.338 GB, free: 5.992 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.435, allocations: 185.6 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.4352, allocations: 15.97 kB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.4352, allocations: 42.5 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/0.4352, allocations: 0 / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.01021/0.4454, allocations: 2.239 MB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.4455, allocations: 81.11 kB / 1.34 GB, free: 3.395 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.4457, allocations: 174.4 kB / 1.34 GB, free: 3.215 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.4458, allocations: 33.7 kB / 1.34 GB, free: 3.176 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.4459, allocations: 148.7 kB / 1.34 GB, free: 3.023 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.446, allocations: 130.9 kB / 1.341 GB, free: 2.895 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.4462, allocations: 81.62 kB / 1.341 GB, free: 2.809 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4464, allocations: 330.8 kB / 1.341 GB, free: 2.477 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006319/0.447, allocations: 292.6 kB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007234/0.4478, allocations: 403.7 kB / 1.342 GB, free: 1.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.4491, allocations: 0.6658 MB / 1.342 GB, free: 1.055 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4491, allocations: 0 / 1.342 GB, free: 1.055 MB / 1.029 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001533/0.4506, allocations: 0.6982 MB / 1.343 GB, free: 360 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.4507, allocations: 11.94 kB / 1.343 GB, free: 348 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4507, allocations: 0 / 1.343 GB, free: 348 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.4507, allocations: 4 kB / 1.343 GB, free: 344 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.4521, allocations: 199.7 kB / 1.343 GB, free: 144 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.4521, allocations: 8.125 kB / 1.343 GB, free: 136 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.4526, allocations: 67.91 kB / 1.343 GB, free: 68 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/0.4527, allocations: 15.98 kB / 1.343 GB, free: 52 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007496/0.4534, allocations: 387.9 kB / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006855/0.4541, allocations: 379 kB / 1.344 GB, free: 15.26 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001286/0.4554, allocations: 0.641 MB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.997e-06/0.4554, allocations: 4 kB / 1.345 GB, free: 14.58 MB / 1.045 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.00146/0.4569, allocations: 0.6769 MB / 1.345 GB, free: 13.9 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4569, allocations: 15.95 kB / 1.345 GB, free: 13.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4569, allocations: 8 kB / 1.345 GB, free: 13.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.4569, allocations: 4 kB / 1.345 GB, free: 13.87 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.4582, allocations: 191.7 kB / 1.346 GB, free: 13.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.4582, allocations: 4 kB / 1.346 GB, free: 13.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/0.4587, allocations: 55.92 kB / 1.346 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.4588, allocations: 19.98 kB / 1.346 GB, free: 13.61 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * 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.0002301/0.459, allocations: 211.4 kB / 1.346 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/0.4591, allocations: 23.8 kB / 1.346 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.4607, allocations: 0.7078 MB / 1.347 GB, free: 12.66 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.4607, allocations: 4 kB / 1.347 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4607, allocations: 0 / 1.347 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.4609, allocations: 75.8 kB / 1.347 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.461, allocations: 8 kB / 1.347 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/0.4614, allocations: 55.91 kB / 1.347 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.4615, allocations: 27.89 kB / 1.347 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002027/0.4636, allocations: 0.8589 MB / 1.348 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001276/0.4648, allocations: 0.853 MB / 1.348 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005021/0.4653, allocations: 268.4 kB / 1.349 GB, free: 10.49 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001964/0.4655, allocations: 151.1 kB / 1.349 GB, free: 10.34 MB / 1.045 GB Notification: Performance of Backend: time 7.91e-07/0.4655, allocations: 0 / 1.349 GB, free: 10.34 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002455/0.468, allocations: 0.9196 MB / 1.35 GB, free: 9.414 MB / 1.045 GB Notification: Performance of SimCode: time 0.001227/0.4692, allocations: 0.9095 MB / 1.351 GB, free: 8.457 MB / 1.045 GB Notification: Performance of Templates: time 0.02003/0.4893, allocations: 12.03 MB / 1.362 GB, free: 12.49 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.618958046004991]