Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.002318/0.002318, allocations: 109 kB / 16.41 MB, free: 6.457 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.002363/0.002363, allocations: 190.7 kB / 17.35 MB, free: 5.719 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.559/1.559, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.963/2.963, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001692, allocations: 60.12 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144/1.145, allocations: 151.6 MB / 1.167 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005479/1.151, allocations: 2.745 MB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004601/1.156, allocations: 2.089 MB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/1.156, allocations: 7.938 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/1.157, allocations: 228.4 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008833/1.158, allocations: 215.1 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009217/1.159, allocations: 283.2 kB / 1.173 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005244/1.16, allocations: 319 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/1.16, allocations: 154 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003507/1.16, allocations: 135.6 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004077/1.161, allocations: 151.5 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.583e-05/1.161, allocations: 20 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/1.162, allocations: 415.2 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/1.162, allocations: 91.78 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002027/1.162, allocations: 115.4 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00125/1.164, allocations: 488.5 kB / 1.175 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.164, allocations: 0 / 1.175 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.366e-06/1.164, allocations: 0 / 1.175 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.442e-05/1.164, allocations: 0 / 1.175 GB, free: 12.62 MB / 0.9044 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.001396/1.165, allocations: 0.5692 MB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.165, allocations: 8.922 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/1.166, allocations: 128.5 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/1.167, allocations: 261.6 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/1.167, allocations: 16.8 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/1.167, allocations: 20.12 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008809/1.168, allocations: 393.9 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/1.168, allocations: 3.984 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/1.168, allocations: 15.94 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-05/1.168, allocations: 19.98 kB / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000927/1.169, allocations: 379.4 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/1.172, allocations: 1.734 MB / 1.178 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008659/1.173, allocations: 360.9 kB / 1.178 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/1.173, allocations: 185.6 kB / 1.178 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/1.173, allocations: 89.09 kB / 1.179 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/1.173, allocations: 46.48 kB / 1.179 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 4.749e-06/1.173, allocations: 4 kB / 1.179 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.009688/1.183, allocations: 2.044 MB / 1.181 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/1.183, allocations: 89.11 kB / 1.181 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/1.183, allocations: 177.3 kB / 1.181 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/1.184, allocations: 33.7 kB / 1.181 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/1.184, allocations: 152.3 kB / 1.181 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/1.184, allocations: 118.3 kB / 1.181 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/1.184, allocations: 77.67 kB / 1.181 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001937/1.184, allocations: 330.8 kB / 1.182 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006192/1.185, allocations: 272.6 kB / 1.182 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006535/1.186, allocations: 345.5 kB / 1.182 GB, free: 4.41 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/1.187, allocations: 0.6195 MB / 1.183 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/1.187, allocations: 0 / 1.183 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001537/1.188, allocations: 0.6698 MB / 1.183 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/1.188, allocations: 4 kB / 1.183 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/1.188, allocations: 4 kB / 1.183 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/1.188, allocations: 4 kB / 1.183 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/1.19, allocations: 152.1 kB / 1.184 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.352e-05/1.19, allocations: 7.938 kB / 1.184 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/1.19, allocations: 59.97 kB / 1.184 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/1.19, allocations: 23.97 kB / 1.184 GB, free: 2.836 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000707/1.191, allocations: 371.9 kB / 1.184 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006228/1.191, allocations: 337.9 kB / 1.184 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001266/1.193, allocations: 0.5903 MB / 1.185 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/1.193, allocations: 3.938 kB / 1.185 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001516/1.194, allocations: 0.6414 MB / 1.186 GB, free: 0.832 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.194, allocations: 8 kB / 1.186 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/1.194, allocations: 0 / 1.186 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/1.194, allocations: 8 kB / 1.186 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009133/1.195, allocations: 143.8 kB / 1.186 GB, free: 0.6719 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/1.195, allocations: 8.188 kB / 1.186 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/1.196, allocations: 55.92 kB / 1.186 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/1.196, allocations: 16 kB / 1.186 GB, free: 0.5938 MB / 0.9044 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.0002459/1.196, allocations: 204 kB / 1.186 GB, free: 396 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/1.196, allocations: 19.81 kB / 1.186 GB, free: 376 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/1.198, allocations: 0.6883 MB / 1.187 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/1.198, allocations: 3.938 kB / 1.187 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.198, allocations: 0 / 1.187 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/1.198, allocations: 140.8 kB / 1.187 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.453e-05/1.198, allocations: 15.98 kB / 1.187 GB, free: 15.49 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/1.199, allocations: 55.91 kB / 1.187 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/1.199, allocations: 31.91 kB / 1.187 GB, free: 15.4 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001705/1.201, allocations: 0.7731 MB / 1.188 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001233/1.202, allocations: 0.8152 MB / 1.188 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005261/1.202, allocations: 280.4 kB / 1.189 GB, free: 13.52 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002318/1.203, allocations: 156.7 kB / 1.189 GB, free: 13.37 MB / 0.92 GB Notification: Performance of Backend: time 3.41e-07/1.203, allocations: 4 kB / 1.189 GB, free: 13.36 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00266/1.205, allocations: 0.928 MB / 1.19 GB, free: 12.43 MB / 0.92 GB Notification: Performance of SimCode: time 0.001407/1.207, allocations: 0.9066 MB / 1.191 GB, free: 11.47 MB / 0.92 GB Notification: Performance of Templates: time 0.02185/1.228, allocations: 10.29 MB / 1.201 GB, free: 1.211 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches