Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001298/0.001298, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.673/2.673, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 63.91 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9426/0.9441, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005891/0.95, allocations: 3.361 MB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003864/0.9539, allocations: 2.162 MB / 1.214 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.9543, allocations: 4 kB / 1.214 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.9555, allocations: 290.7 kB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008026/0.9563, allocations: 234.9 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.9573, allocations: 299.1 kB / 1.215 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006851/0.958, allocations: 390.8 kB / 1.215 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004439/0.9585, allocations: 206.6 kB / 1.215 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003291/0.9588, allocations: 159.4 kB / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004545/0.9593, allocations: 175.3 kB / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.778e-05/0.9594, allocations: 24 kB / 1.216 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008844/0.9603, allocations: 431.1 kB / 1.216 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.9604, allocations: 91.78 kB / 1.216 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.9606, allocations: 147.2 kB / 1.216 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.9617, allocations: 0.5102 MB / 1.217 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.9617, allocations: 3.938 kB / 1.217 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9617, allocations: 0 / 1.217 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.9617, allocations: 0 / 1.217 GB, free: 5.316 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001332/0.963, allocations: 0.608 MB / 1.217 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.9631, allocations: 12.02 kB / 1.217 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009205/0.964, allocations: 116.4 kB / 1.217 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.9645, allocations: 283.7 kB / 1.218 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.9645, allocations: 20.8 kB / 1.218 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.9645, allocations: 20.38 kB / 1.218 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007278/0.9653, allocations: 415.9 kB / 1.218 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.9653, allocations: 4 kB / 1.218 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.9654, allocations: 7.984 kB / 1.218 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-05/0.9654, allocations: 40.47 kB / 1.218 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006308/0.966, allocations: 357.9 kB / 1.218 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.9686, allocations: 2.034 MB / 1.22 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008044/0.9694, allocations: 351.5 kB / 1.221 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003907/0.9698, allocations: 193.6 kB / 1.221 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.97, allocations: 89.09 kB / 1.221 GB, free: 472 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.97, allocations: 30.56 kB / 1.221 GB, free: 432 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 2.935e-06/0.97, allocations: 0 / 1.221 GB, free: 432 kB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.005115/0.9751, allocations: 1.587 MB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.9752, allocations: 85.33 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.9755, allocations: 229 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.9756, allocations: 33.7 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.9757, allocations: 187.9 kB / 1.223 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.405e-05/0.9758, allocations: 122.3 kB / 1.223 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.9759, allocations: 82.03 kB / 1.223 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.9761, allocations: 338.8 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.9765, allocations: 198.5 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.9769, allocations: 301.1 kB / 1.224 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008159/0.9777, allocations: 0.5079 MB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.9777, allocations: 0 / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001274/0.979, allocations: 0.6569 MB / 1.225 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.9791, allocations: 8 kB / 1.225 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.9791, allocations: 0 / 1.225 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005609/0.9796, allocations: 147.3 kB / 1.225 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.9801, allocations: 92.03 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003031/0.9831, allocations: 4.166 MB / 1.23 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/0.9835, allocations: 40.03 kB / 1.23 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.9836, allocations: 23.92 kB / 1.23 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005173/0.9841, allocations: 320.8 kB / 1.23 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000431/0.9845, allocations: 305 kB / 1.23 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008364/0.9854, allocations: 0.5152 MB / 1.231 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-06/0.9854, allocations: 0 / 1.231 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.00129/0.9867, allocations: 0.6406 MB / 1.231 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.9867, allocations: 10.28 kB / 1.231 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.9867, allocations: 8 kB / 1.231 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004459/0.9872, allocations: 147.3 kB / 1.232 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.9876, allocations: 95.88 kB / 1.232 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.9905, allocations: 4.166 MB / 1.236 GB, free: 480 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.9908, allocations: 31.95 kB / 1.236 GB, free: 448 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.9909, allocations: 20.12 kB / 1.236 GB, free: 428 kB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.9911, allocations: 208.1 kB / 1.236 GB, free: 212 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-05/0.9912, allocations: 31.62 kB / 1.236 GB, free: 180 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.9925, allocations: 0.6089 MB / 1.237 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.9925, allocations: 7.938 kB / 1.237 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.9925, allocations: 4 kB / 1.237 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.9925, allocations: 4 kB / 1.237 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.9948, allocations: 1.315 MB / 1.238 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.9948, allocations: 0 / 1.238 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.9951, allocations: 59.91 kB / 1.238 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004498/0.9955, allocations: 159.5 kB / 1.238 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.9956, allocations: 8 kB / 1.238 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.9984, allocations: 4.19 MB / 1.242 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.9985, allocations: 3.938 kB / 1.242 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.9997, allocations: 0.7758 MB / 1.243 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.9999, allocations: 144.7 kB / 1.243 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.9999, allocations: 8 kB / 1.243 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/1, allocations: 27.97 kB / 1.243 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/1, allocations: 35.89 kB / 1.243 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/1, allocations: 16.03 kB / 1.243 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001801/1.001, allocations: 176.5 kB / 1.243 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.001, allocations: 0 / 1.243 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008645/1.001, allocations: 160 kB / 1.243 GB, free: 7.941 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002675/1.002, allocations: 147.1 kB / 1.244 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002237/1.004, allocations: 1.233 MB / 1.245 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/1.004, allocations: 0 / 1.245 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007274/1.005, allocations: 494.3 kB / 1.245 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006163/1.005, allocations: 63.39 kB / 1.245 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/1.007, allocations: 0.787 MB / 1.246 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/1.007, allocations: 0.8045 MB / 1.247 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/1.007, allocations: 31.44 kB / 1.247 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of SimCode: time 4.1e-07/1.007, allocations: 0 / 1.247 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.01281/1.02, allocations: 9.119 MB / 1.256 GB, free: 11.12 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches