Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 107.9 kB / 15.99 MB, free: 5.895 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.001766/0.001766, allocations: 193.4 kB / 16.91 MB, free: 5.746 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.453/1.453, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.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.635/2.635, allocations: 437 MB / 0.7107 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001438, allocations: 71.88 kB / 0.8694 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6083/0.6097, allocations: 151.6 MB / 1.017 GB, free: 2.875 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.0056/0.6154, allocations: 4.314 MB / 1.022 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003519/0.6189, allocations: 2.365 MB / 1.024 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.6193, allocations: 15.88 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.6204, allocations: 342.7 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008533/0.6212, allocations: 342.5 kB / 1.025 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.622, allocations: 291.4 kB / 1.025 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006915/0.6227, allocations: 0.6827 MB / 1.026 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004741/0.6232, allocations: 289.9 kB / 1.026 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.6235, allocations: 254.9 kB / 1.026 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.6238, allocations: 278.9 kB / 1.026 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.6239, allocations: 32 kB / 1.026 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006447/0.6245, allocations: 427 kB / 1.027 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.6247, allocations: 143.5 kB / 1.027 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.6249, allocations: 242.6 kB / 1.027 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005952/0.6255, allocations: 0.5516 MB / 1.028 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6255, allocations: 0 / 1.028 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.785e-06/0.6255, allocations: 3.984 kB / 1.028 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.6255, allocations: 0 / 1.028 GB, free: 8.32 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001105/0.6267, allocations: 0.7987 MB / 1.029 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.6267, allocations: 12.03 kB / 1.029 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.628, allocations: 176.1 kB / 1.029 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.6286, allocations: 408.5 kB / 1.029 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.6286, allocations: 25.36 kB / 1.029 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-05/0.6287, allocations: 36.36 kB / 1.029 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008512/0.6295, allocations: 0.6549 MB / 1.03 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.6296, allocations: 11.94 kB / 1.03 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.6296, allocations: 15.98 kB / 1.03 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.098e-05/0.6297, allocations: 51.91 kB / 1.03 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006988/0.6304, allocations: 0.4915 MB / 1.03 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/0.6336, allocations: 3.779 MB / 1.034 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.6353, allocations: 0.629 MB / 1.035 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.6355, allocations: 182.4 kB / 1.035 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.6356, allocations: 4 kB / 1.035 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.6356, allocations: 38.56 kB / 1.035 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 2.224e-06/0.6356, allocations: 0 / 1.035 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.002221/0.6378, allocations: 1.284 MB / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.6379, allocations: 110.8 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.6383, allocations: 393.8 kB / 1.037 GB, free: 14.66 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.6383, allocations: 29.7 kB / 1.037 GB, free: 14.62 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.6385, allocations: 291.4 kB / 1.037 GB, free: 14.33 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.675e-05/0.6386, allocations: 114.4 kB / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.6388, allocations: 102 kB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.6389, allocations: 354.8 kB / 1.037 GB, free: 13.75 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.6392, allocations: 177 kB / 1.038 GB, free: 13.58 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.6396, allocations: 375.2 kB / 1.038 GB, free: 13.12 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/0.6403, allocations: 0.5874 MB / 1.039 GB, free: 12.45 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.6403, allocations: 7.938 kB / 1.039 GB, free: 12.44 MB / 0.795 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001094/0.6414, allocations: 0.6746 MB / 1.039 GB, free: 11.75 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.6415, allocations: 8 kB / 1.039 GB, free: 11.74 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.6415, allocations: 8.719 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.6419, allocations: 94.45 kB / 1.039 GB, free: 11.63 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.6423, allocations: 115.8 kB / 1.039 GB, free: 11.52 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003419/0.6457, allocations: 4.341 MB / 1.044 GB, free: 6.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.6461, allocations: 36.12 kB / 1.044 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.6462, allocations: 24 kB / 1.044 GB, free: 6.691 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002566/0.6464, allocations: 200.9 kB / 1.044 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.6465, allocations: 51.42 kB / 1.044 GB, free: 6.438 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008965/0.6475, allocations: 0.5224 MB / 1.044 GB, free: 5.895 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.6475, allocations: 4 kB / 1.044 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6475, allocations: 0 / 1.044 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6475, allocations: 3.984 kB / 1.044 GB, free: 5.887 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.6492, allocations: 1.283 MB / 1.046 GB, free: 4.508 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.6492, allocations: 4 kB / 1.046 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.6495, allocations: 63.89 kB / 1.046 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002757/0.6497, allocations: 94.72 kB / 1.046 GB, free: 4.34 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.6498, allocations: 16 kB / 1.046 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003268/0.6531, allocations: 4.336 MB / 1.05 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.6531, allocations: 8.094 kB / 1.05 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009035/0.654, allocations: 0.7737 MB / 1.051 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.6542, allocations: 152.5 kB / 1.051 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.6543, allocations: 11.94 kB / 1.051 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.6546, allocations: 27.97 kB / 1.051 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.6546, allocations: 39.84 kB / 1.051 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.6547, allocations: 8 kB / 1.051 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002962/0.655, allocations: 287.1 kB / 1.051 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.655, allocations: 0 / 1.051 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006846/0.6557, allocations: 124 kB / 1.052 GB, free: 14.08 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001384/0.6558, allocations: 123.1 kB / 1.052 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.6571, allocations: 0.818 MB / 1.052 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.6571, allocations: 0 / 1.052 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007061/0.6578, allocations: 0.552 MB / 1.053 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009153/0.6587, allocations: 135.6 kB / 1.053 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.6603, allocations: 1.122 MB / 1.054 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.6608, allocations: 0.8702 MB / 1.055 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.661, allocations: 43.38 kB / 1.055 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of SimCode: time 5.11e-07/0.661, allocations: 0 / 1.055 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of Templates: time 0.01327/0.6742, allocations: 11.06 MB / 1.066 GB, free: 15.2 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches