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.001704/0.001704, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001924/0.001924, allocations: 193.7 kB / 16.14 MB, free: 6.711 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 / 239.8 MB, free: 4.598 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.787/2.787, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002863/0.002863, allocations: 63.89 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8082/0.8111, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006104/0.8172, allocations: 4.311 MB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003828/0.821, allocations: 2.397 MB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.8213, allocations: 15.88 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.8224, allocations: 346.6 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007866/0.8232, allocations: 346.5 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009132/0.8241, allocations: 303.2 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.8254, allocations: 0.8544 MB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006759/0.8261, allocations: 265.8 kB / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004327/0.8266, allocations: 223 kB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004163/0.827, allocations: 274.8 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/0.8271, allocations: 24 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.8281, allocations: 0.534 MB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.8283, allocations: 135.5 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.8285, allocations: 218.7 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009009/0.8294, allocations: 0.7533 MB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8294, allocations: 0 / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8294, allocations: 0 / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.8294, allocations: 0 / 1.027 GB, free: 7.785 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.001291/0.8307, allocations: 0.7871 MB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.8308, allocations: 12.03 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.8321, allocations: 184.1 kB / 1.028 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000559/0.8327, allocations: 404.4 kB / 1.029 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.8328, allocations: 25.38 kB / 1.029 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.276e-05/0.8328, allocations: 36.36 kB / 1.029 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009514/0.8338, allocations: 0.651 MB / 1.029 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.8338, allocations: 4 kB / 1.029 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/0.8339, allocations: 12 kB / 1.029 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.741e-05/0.834, allocations: 63.84 kB / 1.029 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.8347, allocations: 495.4 kB / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004009/0.8388, allocations: 3.798 MB / 1.034 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.8406, allocations: 0.6321 MB / 1.034 GB, free: 244 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.8409, allocations: 174.4 kB / 1.034 GB, free: 60 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.8409, allocations: 8 kB / 1.034 GB, free: 52 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.8409, allocations: 34.56 kB / 1.034 GB, free: 8 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 2.235e-06/0.8409, allocations: 0 / 1.034 GB, free: 8 kB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.002459/0.8434, allocations: 1.273 MB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/0.8435, allocations: 114.8 kB / 1.036 GB, free: 14.52 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/0.844, allocations: 401.8 kB / 1.036 GB, free: 14.12 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.844, allocations: 29.7 kB / 1.036 GB, free: 14.09 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.8443, allocations: 283.3 kB / 1.036 GB, free: 13.8 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.8444, allocations: 118.4 kB / 1.037 GB, free: 13.69 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.8445, allocations: 98.06 kB / 1.037 GB, free: 13.58 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.8448, allocations: 350.8 kB / 1.037 GB, free: 13.23 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.8451, allocations: 181 kB / 1.037 GB, free: 13.05 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004846/0.8455, allocations: 375.2 kB / 1.038 GB, free: 12.6 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008395/0.8464, allocations: 0.5913 MB / 1.038 GB, free: 11.91 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.8464, allocations: 7.938 kB / 1.038 GB, free: 11.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0012/0.8476, allocations: 0.663 MB / 1.039 GB, free: 11.23 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.8477, allocations: 8.281 kB / 1.039 GB, free: 11.22 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.8477, allocations: 8 kB / 1.039 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004368/0.8481, allocations: 107 kB / 1.039 GB, free: 11.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004304/0.8486, allocations: 115.8 kB / 1.039 GB, free: 10.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003954/0.8525, allocations: 4.04 MB / 1.043 GB, free: 6.539 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.8529, allocations: 32.05 kB / 1.043 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.853, allocations: 27.98 kB / 1.043 GB, free: 6.48 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.0002937/0.8533, allocations: 191.4 kB / 1.043 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.8534, allocations: 47.44 kB / 1.043 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.8545, allocations: 0.5267 MB / 1.044 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.8546, allocations: 4 kB / 1.044 GB, free: 5.688 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.8546, allocations: 4 kB / 1.044 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.8546, allocations: 0 / 1.044 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.8566, allocations: 1.283 MB / 1.045 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.8566, allocations: 0 / 1.045 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.8569, allocations: 63.89 kB / 1.045 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002871/0.8572, allocations: 90.8 kB / 1.045 GB, free: 4.145 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.8572, allocations: 8 kB / 1.045 GB, free: 4.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003852/0.861, allocations: 4.041 MB / 1.049 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8611, allocations: 0 / 1.049 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.8622, allocations: 0.775 MB / 1.05 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.8625, allocations: 152.8 kB / 1.05 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.8625, allocations: 15.88 kB / 1.05 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.8628, allocations: 27.97 kB / 1.05 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.8629, allocations: 31.84 kB / 1.05 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.863, allocations: 19.98 kB / 1.05 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003718/0.8633, allocations: 275.1 kB / 1.05 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8634, allocations: 0 / 1.05 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007876/0.8641, allocations: 124 kB / 1.051 GB, free: 14.22 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.0001809/0.8643, allocations: 119.6 kB / 1.051 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.8657, allocations: 0.8052 MB / 1.051 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8657, allocations: 0 / 1.051 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007607/0.8665, allocations: 0.5475 MB / 1.052 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009205/0.8674, allocations: 128.2 kB / 1.052 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.8692, allocations: 1.085 MB / 1.053 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.8699, allocations: 0.8625 MB / 1.054 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003147/0.8702, allocations: 108.5 kB / 1.054 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.65e-05/0.8703, allocations: 35.44 kB / 1.054 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of SimCode: time 7.71e-07/0.8703, allocations: 0 / 1.054 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of Templates: time 0.0115/0.8818, allocations: 5.537 MB / 1.06 GB, free: 4.883 MB / 0.8106 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=400 -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/jenkins/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