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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001448/0.001454, allocations: 110.9 kB / 16.42 MB, free: 6.5 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.001551/0.001551, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.724/2.724, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001763, allocations: 60.12 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9805/0.9823, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004906/0.9873, allocations: 2.749 MB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003541/0.9908, allocations: 2.084 MB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.9911, allocations: 8 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009049/0.9921, allocations: 231 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006863/0.9928, allocations: 219 kB / 1.214 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008257/0.9936, allocations: 282.5 kB / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004691/0.9941, allocations: 307.1 kB / 1.214 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003784/0.9945, allocations: 161.9 kB / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.9947, allocations: 123.6 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.9951, allocations: 159.4 kB / 1.215 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.087e-05/0.9952, allocations: 20 kB / 1.215 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000769/0.996, allocations: 415.2 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.9961, allocations: 95.75 kB / 1.215 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.9963, allocations: 115.4 kB / 1.215 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008724/0.9972, allocations: 488.3 kB / 1.216 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.9972, allocations: 3.984 kB / 1.216 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9972, allocations: 0 / 1.216 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.9972, allocations: 4 kB / 1.216 GB, free: 6.191 MB / 0.9356 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.001159/0.9984, allocations: 0.5537 MB / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.9984, allocations: 15.97 kB / 1.216 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.9995, allocations: 132.5 kB / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.9998, allocations: 268.4 kB / 1.217 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.9999, allocations: 12.81 kB / 1.217 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.578e-05/0.9999, allocations: 24.12 kB / 1.217 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007155/1.001, allocations: 393.9 kB / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/1.001, allocations: 0 / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/1.001, allocations: 11.98 kB / 1.217 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-05/1.001, allocations: 23.98 kB / 1.217 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007105/1.001, allocations: 375.6 kB / 1.217 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/1.004, allocations: 1.734 MB / 1.219 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007147/1.004, allocations: 356.9 kB / 1.219 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/1.005, allocations: 185.6 kB / 1.22 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/1.005, allocations: 97.09 kB / 1.22 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/1.005, allocations: 30.56 kB / 1.22 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/1.005, allocations: 0 / 1.22 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.008808/1.014, allocations: 2.057 MB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/1.014, allocations: 81.11 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/1.014, allocations: 183.5 kB / 1.222 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.204e-05/1.014, allocations: 33.7 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/1.014, allocations: 152.3 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/1.014, allocations: 122.3 kB / 1.222 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/1.014, allocations: 73.69 kB / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.015, allocations: 338.8 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005579/1.015, allocations: 260.7 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/1.016, allocations: 349.5 kB / 1.223 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/1.017, allocations: 0.619 MB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.017, allocations: 0 / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00135/1.018, allocations: 0.6667 MB / 1.224 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.018, allocations: 5.719 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/1.018, allocations: 4 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/1.018, allocations: 8.281 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009636/1.019, allocations: 155.8 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/1.019, allocations: 4 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/1.02, allocations: 51.92 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/1.02, allocations: 19.98 kB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006419/1.021, allocations: 368 kB / 1.225 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005701/1.021, allocations: 337.9 kB / 1.225 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001094/1.022, allocations: 0.6019 MB / 1.226 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/1.022, allocations: 0 / 1.226 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001304/1.024, allocations: 0.6297 MB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/1.024, allocations: 8 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/1.024, allocations: 7.875 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/1.024, allocations: 4 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009002/1.024, allocations: 159.9 kB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/1.024, allocations: 4 kB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/1.025, allocations: 55.97 kB / 1.227 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/1.025, allocations: 19.97 kB / 1.227 GB, free: 10.17 MB / 0.9512 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.0001836/1.025, allocations: 204.1 kB / 1.227 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/1.025, allocations: 19.81 kB / 1.227 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/1.027, allocations: 0.6843 MB / 1.228 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/1.027, allocations: 3.984 kB / 1.228 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.027, allocations: 0 / 1.228 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/1.027, allocations: 140.8 kB / 1.228 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/1.027, allocations: 12 kB / 1.228 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/1.027, allocations: 59.91 kB / 1.228 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/1.028, allocations: 27.91 kB / 1.228 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001539/1.029, allocations: 0.7887 MB / 1.229 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001099/1.03, allocations: 0.8075 MB / 1.23 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004635/1.031, allocations: 279.8 kB / 1.23 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001816/1.031, allocations: 159 kB / 1.23 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of Backend: time 1.233e-06/1.031, allocations: 0 / 1.23 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00234/1.033, allocations: 0.9246 MB / 1.231 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001204/1.034, allocations: 0.9064 MB / 1.232 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of Templates: time 0.01679/1.051, allocations: 10.3 MB / 1.242 GB, free: 10.79 MB / 0.9669 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