Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001086, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.85/2.85, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004158, allocations: 8.438 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3769, allocations: 159.6 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003908/0.3809, allocations: 2.422 MB / 1.06 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003091/0.384, allocations: 1.875 MB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.3842, allocations: 4 kB / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.3845, allocations: 27.78 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.385, allocations: 159.3 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006342/0.3857, allocations: 199.5 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004417/0.3861, allocations: 359 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000671/0.3868, allocations: 358.5 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.387, allocations: 99.61 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.3873, allocations: 147.5 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.3874, allocations: 12 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004255/0.3878, allocations: 255.7 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.3879, allocations: 87.75 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.585e-05/0.388, allocations: 61.58 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.3884, allocations: 335.5 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3884, allocations: 0 / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3885, allocations: 7.938 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3885, allocations: 0 / 1.064 GB, free: 14.86 MB / 0.8262 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.001006/0.3895, allocations: 0.5107 MB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.3895, allocations: 12.03 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000769/0.3903, allocations: 99.59 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.3908, allocations: 267 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.3908, allocations: 16.44 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.3909, allocations: 20 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008268/0.3917, allocations: 389.9 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.3917, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.3918, allocations: 15.98 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.3918, allocations: 19.98 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006714/0.3925, allocations: 375.6 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.395, allocations: 1.737 MB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000742/0.3957, allocations: 341 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.396, allocations: 199.4 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.3962, allocations: 85.11 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.3962, allocations: 34.56 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.3962, allocations: 0 / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.006946/0.4032, allocations: 2.07 MB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.4033, allocations: 89.03 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.4034, allocations: 175.5 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.4035, allocations: 41.64 kB / 1.071 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.61e-05/0.4036, allocations: 144.4 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.4037, allocations: 122.2 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.4037, allocations: 8 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.4039, allocations: 334.8 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.4043, allocations: 259.8 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.4049, allocations: 337.5 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006166/0.4055, allocations: 297.2 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4055, allocations: 0 / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001297/0.4068, allocations: 0.6554 MB / 1.073 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.407, allocations: 158.7 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.407, allocations: 0 / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.407, allocations: 4 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008438/0.4079, allocations: 159.7 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.4079, allocations: 4 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.4082, allocations: 55.92 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.4083, allocations: 16 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.792e-06/0.4083, allocations: 4 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001234/0.4095, allocations: 0.5933 MB / 1.074 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.4096, allocations: 0 / 1.074 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.4096, allocations: 12.23 kB / 1.074 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00082/0.4104, allocations: 151.8 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4104, allocations: 8 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.4107, allocations: 51.94 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.4108, allocations: 15.98 kB / 1.074 GB, free: 4.621 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.411, allocations: 244.9 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.4111, allocations: 27.7 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.4124, allocations: 0.6802 MB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.4125, allocations: 7.984 kB / 1.075 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4125, allocations: 0 / 1.075 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4125, allocations: 4 kB / 1.075 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.4147, allocations: 1.387 MB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.4148, allocations: 4 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/0.4153, allocations: 123.8 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.4153, allocations: 4 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.4154, allocations: 8 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4154, allocations: 4 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4154, allocations: 8.188 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.4166, allocations: 0.7424 MB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.4168, allocations: 144.7 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.934e-05/0.4169, allocations: 8 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.4172, allocations: 39.95 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/0.4173, allocations: 35.89 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.4173, allocations: 16 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001277/0.4174, allocations: 147 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4174, allocations: 0 / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006374/0.4181, allocations: 144 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002258/0.4183, allocations: 139.2 kB / 1.078 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.4199, allocations: 0.8769 MB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4199, allocations: 0 / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004754/0.4204, allocations: 264.6 kB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.421, allocations: 40.73 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.4223, allocations: 0.8315 MB / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.4227, allocations: 0.776 MB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005266/0.4232, allocations: 182.7 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.4234, allocations: 31.42 kB / 1.081 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.4234, allocations: 0 / 1.081 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of Templates: time 0.008738/0.4321, allocations: 4.382 MB / 1.085 GB, free: 9.121 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches