Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_10_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_10_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.001039/0.001039, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001241/0.001241, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.932/2.932, allocations: 437.7 MB / 0.7117 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003962, allocations: 8 kB / 0.8722 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8177/0.8181, allocations: 153.8 MB / 1.022 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004015/0.8222, allocations: 2.918 MB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003053/0.8253, allocations: 2.012 MB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.8254, allocations: 7.938 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.8256, allocations: 39.64 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005341/0.8262, allocations: 179.2 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.8268, allocations: 219.2 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.8273, allocations: 438.6 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005648/0.8279, allocations: 335.5 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.8281, allocations: 123.5 kB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.8284, allocations: 163.4 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.8284, allocations: 12 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004748/0.8289, allocations: 271.6 kB / 1.029 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.403e-05/0.829, allocations: 87.7 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.817e-05/0.8291, allocations: 73.58 kB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.8295, allocations: 371.1 kB / 1.029 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8295, allocations: 0 / 1.029 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.837e-06/0.8296, allocations: 11.94 kB / 1.029 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.8296, allocations: 3.938 kB / 1.029 GB, free: 8.906 MB / 0.7794 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.0008681/0.8304, allocations: 0.5651 MB / 1.03 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.8305, allocations: 12.5 kB / 1.03 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008017/0.8313, allocations: 123.5 kB / 1.03 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.8316, allocations: 270.5 kB / 1.03 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.8317, allocations: 16.39 kB / 1.03 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.8317, allocations: 27.98 kB / 1.03 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006917/0.8324, allocations: 411.5 kB / 1.031 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.8324, allocations: 0 / 1.031 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.8325, allocations: 12 kB / 1.031 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/0.8325, allocations: 40.47 kB / 1.031 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006136/0.8332, allocations: 354 kB / 1.031 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/0.8357, allocations: 2.066 MB / 1.033 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007268/0.8364, allocations: 355.3 kB / 1.034 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.8368, allocations: 198 kB / 1.034 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.8369, allocations: 89.28 kB / 1.034 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.837, allocations: 38.75 kB / 1.034 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.837, allocations: 0 / 1.034 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.00497/0.842, allocations: 1.754 MB / 1.036 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.584e-05/0.8422, allocations: 81.11 kB / 1.036 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.8425, allocations: 236.9 kB / 1.036 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.8425, allocations: 29.7 kB / 1.036 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.8427, allocations: 191.9 kB / 1.036 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.8428, allocations: 118.3 kB / 1.036 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.8429, allocations: 4 kB / 1.036 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002277/0.8431, allocations: 342.8 kB / 1.037 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.8435, allocations: 196.8 kB / 1.037 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.844, allocations: 313.1 kB / 1.037 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.8445, allocations: 245.3 kB / 1.037 GB, free: 428 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8445, allocations: 3.953 kB / 1.037 GB, free: 424 kB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001275/0.8458, allocations: 0.6682 MB / 1.038 GB, free: 15.72 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.8459, allocations: 188.1 kB / 1.038 GB, free: 15.49 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.8459, allocations: 4 kB / 1.038 GB, free: 15.49 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004961/0.8465, allocations: 139.3 kB / 1.038 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.8469, allocations: 107.8 kB / 1.038 GB, free: 15.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003093/0.85, allocations: 3.946 MB / 1.042 GB, free: 10.97 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.8504, allocations: 44.03 kB / 1.042 GB, free: 10.93 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.8504, allocations: 19.98 kB / 1.042 GB, free: 10.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.8504, allocations: 5.875 kB / 1.042 GB, free: 10.91 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/0.8516, allocations: 0.6199 MB / 1.043 GB, free: 10.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.8517, allocations: 4 kB / 1.043 GB, free: 10.27 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003786/0.852, allocations: 151.1 kB / 1.043 GB, free: 10.11 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.8524, allocations: 108 kB / 1.043 GB, free: 10.01 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000623/0.8531, allocations: 1.097 MB / 1.044 GB, free: 8.859 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.8534, allocations: 44.14 kB / 1.044 GB, free: 8.816 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.8534, allocations: 12 kB / 1.044 GB, free: 8.805 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003/0.8537, allocations: 256.9 kB / 1.044 GB, free: 8.543 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.526e-05/0.8538, allocations: 27.62 kB / 1.045 GB, free: 8.516 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.8551, allocations: 0.6249 MB / 1.045 GB, free: 7.871 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.8551, allocations: 4 kB / 1.045 GB, free: 7.867 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.8551, allocations: 4 kB / 1.045 GB, free: 7.863 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.8551, allocations: 3.984 kB / 1.045 GB, free: 7.859 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.8573, allocations: 1.35 MB / 1.046 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.8573, allocations: 0 / 1.046 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.8575, allocations: 67.89 kB / 1.047 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004149/0.858, allocations: 151.6 kB / 1.047 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.858, allocations: 15.98 kB / 1.047 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/0.8608, allocations: 3.961 MB / 1.051 GB, free: 1.871 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.8608, allocations: 4 kB / 1.051 GB, free: 1.867 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.862, allocations: 0.786 MB / 1.051 GB, free: 1.027 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.8622, allocations: 144.7 kB / 1.051 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.8622, allocations: 8 kB / 1.051 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.8625, allocations: 35.92 kB / 1.051 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/0.8626, allocations: 35.95 kB / 1.052 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.8626, allocations: 15.94 kB / 1.052 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001627/0.8628, allocations: 164.5 kB / 1.052 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8628, allocations: 0 / 1.052 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008258/0.8637, allocations: 160 kB / 1.052 GB, free: 468 kB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002299/0.8639, allocations: 143.2 kB / 1.052 GB, free: 316 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.866, allocations: 1.197 MB / 1.053 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.866, allocations: 0.625 kB / 1.053 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007479/0.8667, allocations: 490.4 kB / 1.054 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005782/0.8673, allocations: 70.06 kB / 1.054 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.8687, allocations: 0.8723 MB / 1.055 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.8691, allocations: 0.8006 MB / 1.055 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003478/0.8695, allocations: 110.9 kB / 1.055 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/0.8695, allocations: 31.44 kB / 1.055 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of SimCode: time 5.41e-07/0.8696, allocations: 0 / 1.055 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of Templates: time 0.01091/0.8805, allocations: 5.501 MB / 1.061 GB, free: 7.117 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches