Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009905/0.0009906, allocations: 90.91 kB / 15.06 MB, free: 1.094 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.001203/0.001204, allocations: 172.7 kB / 15.95 MB, free: 204 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.588/1.588, allocations: 223.3 MB / 240 MB, free: 5.438 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.713/2.713, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003842, allocations: 12 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7967/0.7971, allocations: 153.8 MB / 1.022 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.003903/0.8011, allocations: 2.961 MB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003043/0.8042, allocations: 2.008 MB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.8043, allocations: 8 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.8045, allocations: 43.64 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000516/0.8051, allocations: 179.2 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006497/0.8057, allocations: 207.5 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000476/0.8062, allocations: 450.5 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005555/0.8068, allocations: 323.5 kB / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.807, allocations: 123.5 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003539/0.8074, allocations: 171.4 kB / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.8074, allocations: 12 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.8079, allocations: 275.6 kB / 1.029 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.758e-05/0.808, allocations: 79.72 kB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.255e-05/0.8081, allocations: 73.58 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004312/0.8085, allocations: 379 kB / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.8085, allocations: 4 kB / 1.029 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8085, allocations: 0 / 1.029 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.8086, allocations: 0 / 1.029 GB, free: 8.883 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.0009447/0.8095, allocations: 0.565 MB / 1.03 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.8096, allocations: 8.562 kB / 1.03 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000828/0.8104, allocations: 127.5 kB / 1.03 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.8108, allocations: 266.5 kB / 1.03 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.8108, allocations: 24.38 kB / 1.03 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.8109, allocations: 20 kB / 1.03 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/0.8115, allocations: 415.5 kB / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.8116, allocations: 0 / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.8116, allocations: 15.92 kB / 1.031 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-05/0.8117, allocations: 36.53 kB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006178/0.8123, allocations: 353.9 kB / 1.031 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.8146, allocations: 2.062 MB / 1.033 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007669/0.8154, allocations: 357.6 kB / 1.034 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/0.8158, allocations: 198 kB / 1.034 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.816, allocations: 89.28 kB / 1.034 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.816, allocations: 30.75 kB / 1.034 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 2.003e-06/0.816, allocations: 4 kB / 1.034 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.004939/0.8209, allocations: 1.769 MB / 1.036 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.821, allocations: 89.08 kB / 1.036 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.8213, allocations: 229 kB / 1.036 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.8213, allocations: 37.7 kB / 1.036 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.8214, allocations: 176 kB / 1.036 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/0.8215, allocations: 118.3 kB / 1.036 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.8216, allocations: 8 kB / 1.036 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8217, allocations: 338.8 kB / 1.037 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.8221, allocations: 200.7 kB / 1.037 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/0.8225, allocations: 313.1 kB / 1.037 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.823, allocations: 244.8 kB / 1.037 GB, free: 396 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.823, allocations: 3.953 kB / 1.037 GB, free: 392 kB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001282/0.8243, allocations: 0.6682 MB / 1.038 GB, free: 15.69 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.8244, allocations: 180.1 kB / 1.038 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.8245, allocations: 4 kB / 1.038 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005277/0.825, allocations: 147.3 kB / 1.038 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.8254, allocations: 103.8 kB / 1.038 GB, free: 15.21 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/0.8285, allocations: 3.95 MB / 1.042 GB, free: 10.94 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.8288, allocations: 39.88 kB / 1.042 GB, free: 10.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.8288, allocations: 15.98 kB / 1.042 GB, free: 10.89 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.8289, allocations: 8.062 kB / 1.042 GB, free: 10.88 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001198/0.8301, allocations: 0.6199 MB / 1.043 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8301, allocations: 4 kB / 1.043 GB, free: 10.24 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/0.8305, allocations: 151.4 kB / 1.043 GB, free: 10.08 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.8309, allocations: 95.88 kB / 1.043 GB, free: 9.988 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006055/0.8315, allocations: 1.105 MB / 1.044 GB, free: 8.832 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.8318, allocations: 35.95 kB / 1.044 GB, free: 8.797 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.8318, allocations: 16.19 kB / 1.044 GB, free: 8.781 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.0002397/0.832, allocations: 260.9 kB / 1.045 GB, free: 8.516 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.326e-05/0.8321, allocations: 31.56 kB / 1.045 GB, free: 8.484 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.8333, allocations: 0.6249 MB / 1.045 GB, free: 7.84 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.8334, allocations: 11.94 kB / 1.045 GB, free: 7.828 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.8334, allocations: 0 / 1.045 GB, free: 7.828 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.8334, allocations: 3.984 kB / 1.045 GB, free: 7.824 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.8356, allocations: 1.339 MB / 1.046 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.8356, allocations: 4.25 kB / 1.046 GB, free: 6.371 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.8358, allocations: 63.89 kB / 1.047 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004243/0.8363, allocations: 151.3 kB / 1.047 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.8363, allocations: 19.94 kB / 1.047 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002902/0.8392, allocations: 3.965 MB / 1.051 GB, free: 1.844 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.8392, allocations: 4.031 kB / 1.051 GB, free: 1.84 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.8405, allocations: 0.7898 MB / 1.051 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.8406, allocations: 140.7 kB / 1.051 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.8407, allocations: 15.98 kB / 1.052 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.841, allocations: 35.92 kB / 1.052 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.782e-05/0.8411, allocations: 31.95 kB / 1.052 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.8411, allocations: 16 kB / 1.052 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001613/0.8413, allocations: 164.5 kB / 1.052 GB, free: 0.582 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8413, allocations: 0 / 1.052 GB, free: 0.582 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000793/0.8421, allocations: 164 kB / 1.052 GB, free: 432 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.0002339/0.8424, allocations: 136.2 kB / 1.052 GB, free: 288 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002/0.8444, allocations: 1.201 MB / 1.053 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.8444, allocations: 4 kB / 1.053 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007195/0.8451, allocations: 490.9 kB / 1.054 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.8457, allocations: 66.59 kB / 1.054 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.8471, allocations: 0.8601 MB / 1.055 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.8475, allocations: 0.8045 MB / 1.055 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003476/0.8479, allocations: 118.9 kB / 1.055 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.442e-05/0.8479, allocations: 27.44 kB / 1.056 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of SimCode: time 4.41e-07/0.8479, allocations: 0 / 1.056 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of Templates: time 0.01041/0.8584, allocations: 5.513 MB / 1.061 GB, free: 7.086 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches