Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001666, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 198.3 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.824/2.824, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 70.67 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3227, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004731/0.3275, allocations: 2.793 MB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.3309, allocations: 2.123 MB / 1.058 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.3312, allocations: 4 kB / 1.058 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008805/0.3321, allocations: 215.3 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006607/0.3328, allocations: 203.3 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007794/0.3336, allocations: 231.5 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000576/0.3342, allocations: 454.8 kB / 1.059 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004409/0.3346, allocations: 154 kB / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.3349, allocations: 103.6 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.3353, allocations: 155.5 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.464e-05/0.3353, allocations: 12 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008413/0.3362, allocations: 487.1 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.3363, allocations: 87.77 kB / 1.06 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.3365, allocations: 111.4 kB / 1.06 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006184/0.3371, allocations: 363.5 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3371, allocations: 7.938 kB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3371, allocations: 0 / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.3372, allocations: 0 / 1.06 GB, free: 0.8516 MB / 0.8106 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.001202/0.3384, allocations: 0.5592 MB / 1.061 GB, free: 252 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.3384, allocations: 15.97 kB / 1.061 GB, free: 236 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.3395, allocations: 132.5 kB / 1.061 GB, free: 104 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.3399, allocations: 256.4 kB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.34, allocations: 16.8 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.677e-05/0.34, allocations: 28.11 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007712/0.3408, allocations: 389.9 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.3408, allocations: 3.984 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.3409, allocations: 11.98 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.621e-05/0.3409, allocations: 23.98 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007997/0.3417, allocations: 371.6 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.344, allocations: 1.753 MB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007676/0.3448, allocations: 348.9 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.3452, allocations: 197.6 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.3453, allocations: 89.11 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.3454, allocations: 38.55 kB / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 2.835e-06/0.3454, allocations: 0 / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.009245/0.3546, allocations: 2.048 MB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.3547, allocations: 81.11 kB / 1.066 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.3549, allocations: 183.5 kB / 1.066 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.355, allocations: 29.7 kB / 1.066 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3551, allocations: 160.3 kB / 1.067 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.3552, allocations: 118.2 kB / 1.067 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.3554, allocations: 81.67 kB / 1.067 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3555, allocations: 326.8 kB / 1.067 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005671/0.3561, allocations: 268.7 kB / 1.067 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.3567, allocations: 349.4 kB / 1.068 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.3579, allocations: 0.619 MB / 1.068 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3579, allocations: 7.938 kB / 1.068 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001372/0.3593, allocations: 0.6629 MB / 1.069 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.3593, allocations: 8 kB / 1.069 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.3593, allocations: 0 / 1.069 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3594, allocations: 4 kB / 1.069 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009967/0.3604, allocations: 151.8 kB / 1.069 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.3604, allocations: 7.938 kB / 1.069 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/0.3609, allocations: 56.11 kB / 1.069 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.361, allocations: 19.98 kB / 1.069 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000704/0.3617, allocations: 367.9 kB / 1.069 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000589/0.3623, allocations: 329.3 kB / 1.07 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001125/0.3634, allocations: 0.5977 MB / 1.07 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.977e-06/0.3635, allocations: 0 / 1.07 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.00133/0.3648, allocations: 0.6416 MB / 1.071 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3648, allocations: 4.281 kB / 1.071 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3648, allocations: 8 kB / 1.071 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.3648, allocations: 4 kB / 1.071 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009227/0.3658, allocations: 147.8 kB / 1.071 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.3658, allocations: 4 kB / 1.071 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.3663, allocations: 55.92 kB / 1.071 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.3663, allocations: 16 kB / 1.071 GB, free: 4.84 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.3665, allocations: 208 kB / 1.071 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.674e-05/0.3666, allocations: 23.72 kB / 1.071 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.3681, allocations: 0.6841 MB / 1.072 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.3681, allocations: 4 kB / 1.072 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3681, allocations: 0 / 1.072 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3681, allocations: 4 kB / 1.072 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.3704, allocations: 1.359 MB / 1.073 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.3704, allocations: 8 kB / 1.073 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.371, allocations: 124.1 kB / 1.074 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.371, allocations: 4 kB / 1.074 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.3711, allocations: 8 kB / 1.074 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.3711, allocations: 7.938 kB / 1.074 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3711, allocations: 4 kB / 1.074 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.3721, allocations: 0.7111 MB / 1.074 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.3723, allocations: 144.8 kB / 1.074 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.3724, allocations: 11.94 kB / 1.074 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.3728, allocations: 43.88 kB / 1.075 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-05/0.3729, allocations: 27.91 kB / 1.075 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.3729, allocations: 16 kB / 1.075 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00019/0.3731, allocations: 155.1 kB / 1.075 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3731, allocations: 0 / 1.075 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007977/0.3739, allocations: 152 kB / 1.075 GB, free: 0.9844 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 (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.0002517/0.3742, allocations: 131.2 kB / 1.075 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001849/0.376, allocations: 0.8657 MB / 1.076 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3761, allocations: 0 / 1.076 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.3765, allocations: 263.7 kB / 1.076 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.3771, allocations: 44.66 kB / 1.076 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.3785, allocations: 0.8419 MB / 1.077 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.379, allocations: 0.7877 MB / 1.078 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.3792, allocations: 35.42 kB / 1.078 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of SimCode: time 1.142e-06/0.3792, allocations: 0 / 1.078 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of Templates: time 0.008671/0.3879, allocations: 4.942 MB / 1.083 GB, free: 9.016 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches