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.001037/0.001037, allocations: 98.88 kB / 16.02 MB, free: 76 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.001459/0.001459, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.809/2.809, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003315, allocations: 16.5 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3102, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.00356/0.3138, allocations: 2.441 MB / 1.062 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003436/0.3173, allocations: 2.076 MB / 1.064 GB, free: 460 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/0.3175, allocations: 4 kB / 1.064 GB, free: 456 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.3177, allocations: 27.78 kB / 1.064 GB, free: 428 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007274/0.3185, allocations: 203.3 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007696/0.3193, allocations: 239.5 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005439/0.3198, allocations: 458.8 kB / 1.065 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007382/0.3206, allocations: 366.2 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002503/0.3208, allocations: 107.6 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.3212, allocations: 151.5 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.3213, allocations: 12 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007933/0.3221, allocations: 471.2 kB / 1.066 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.3222, allocations: 83.78 kB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.3223, allocations: 129.1 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005345/0.3229, allocations: 367.4 kB / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3229, allocations: 0 / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3229, allocations: 0 / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.3229, allocations: 0 / 1.066 GB, free: 13.85 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.0009751/0.3239, allocations: 0.5226 MB / 1.067 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3239, allocations: 11.97 kB / 1.067 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.325, allocations: 132.5 kB / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.3254, allocations: 252.5 kB / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.3254, allocations: 16.8 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/0.3255, allocations: 28.12 kB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007598/0.3262, allocations: 401.9 kB / 1.068 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.3263, allocations: 7.844 kB / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.3263, allocations: 8 kB / 1.068 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/0.3264, allocations: 19.98 kB / 1.068 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007699/0.3271, allocations: 383.7 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.3293, allocations: 1.761 MB / 1.07 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/0.33, allocations: 361 kB / 1.07 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.3304, allocations: 193.6 kB / 1.07 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.3306, allocations: 93.08 kB / 1.07 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3306, allocations: 42.5 kB / 1.07 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/0.3306, allocations: 0 / 1.07 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.009438/0.3401, allocations: 2.204 MB / 1.072 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.3402, allocations: 85.11 kB / 1.073 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.3404, allocations: 187.5 kB / 1.073 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.3404, allocations: 29.7 kB / 1.073 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.803e-05/0.3405, allocations: 144.4 kB / 1.073 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.3407, allocations: 118.2 kB / 1.073 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/0.3407, allocations: 33.7 kB / 1.073 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3409, allocations: 334.8 kB / 1.073 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000577/0.3415, allocations: 271.8 kB / 1.074 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.3421, allocations: 353.4 kB / 1.074 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.3433, allocations: 0.6425 MB / 1.075 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.3433, allocations: 7.938 kB / 1.075 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001477/0.3448, allocations: 0.6825 MB / 1.075 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.345, allocations: 160.8 kB / 1.075 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.345, allocations: 4 kB / 1.075 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.345, allocations: 4 kB / 1.075 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.346, allocations: 155.8 kB / 1.076 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.346, allocations: 4 kB / 1.076 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.3466, allocations: 63.91 kB / 1.076 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/0.3466, allocations: 16 kB / 1.076 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.3466, allocations: 7.938 kB / 1.076 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001309/0.348, allocations: 0.6166 MB / 1.076 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.348, allocations: 4 kB / 1.076 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/0.348, allocations: 4 kB / 1.076 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009245/0.3489, allocations: 156 kB / 1.076 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3489, allocations: 4 kB / 1.076 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.3494, allocations: 55.92 kB / 1.076 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.3495, allocations: 19.98 kB / 1.077 GB, free: 2.852 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.0002899/0.3498, allocations: 248.9 kB / 1.077 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.3499, allocations: 31.66 kB / 1.077 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.3515, allocations: 0.7041 MB / 1.077 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.3515, allocations: 4 kB / 1.077 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3515, allocations: 0 / 1.077 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.3515, allocations: 3.984 kB / 1.077 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.3537, allocations: 1.391 MB / 1.079 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3538, allocations: 8.031 kB / 1.079 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/0.3544, allocations: 123.8 kB / 1.079 GB, free: 232 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.108e-06/0.3544, allocations: 4 kB / 1.079 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.3544, allocations: 8 kB / 1.079 GB, free: 220 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.3544, allocations: 4 kB / 1.079 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.3544, allocations: 3.984 kB / 1.079 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.3555, allocations: 0.7385 MB / 1.08 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.3557, allocations: 152.7 kB / 1.08 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.3557, allocations: 8 kB / 1.08 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.3561, allocations: 43.94 kB / 1.08 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.3562, allocations: 31.84 kB / 1.08 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.3563, allocations: 16 kB / 1.08 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001832/0.3565, allocations: 155 kB / 1.08 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3565, allocations: 0 / 1.08 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007221/0.3572, allocations: 148 kB / 1.08 GB, free: 14.87 MB / 0.8419 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.0002402/0.3574, allocations: 131.2 kB / 1.08 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.3593, allocations: 0.9035 MB / 1.081 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3593, allocations: 4.062 kB / 1.081 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.3598, allocations: 263.7 kB / 1.081 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.3604, allocations: 48.98 kB / 1.082 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.3618, allocations: 0.8576 MB / 1.082 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.3622, allocations: 0.7838 MB / 1.083 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.3624, allocations: 35.42 kB / 1.083 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.3624, allocations: 0 / 1.083 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of Templates: time 0.009333/0.3718, allocations: 4.905 MB / 1.088 GB, free: 6.875 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