Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 106.2 kB / 16.41 MB, free: 6.387 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.001282/0.001282, allocations: 186.1 kB / 17.34 MB, free: 5.84 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.395/1.395, 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 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 67.89 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114/1.116, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01507/1.131, allocations: 11.1 MB / 1.178 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0113/1.142, allocations: 5.789 MB / 1.184 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/1.144, allocations: 55.62 kB / 1.184 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004957/1.149, allocations: 1.72 MB / 1.186 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003981/1.153, allocations: 1.19 MB / 1.187 GB, free: 15.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002756/1.156, allocations: 0.8152 MB / 1.187 GB, free: 15.11 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003752/1.16, allocations: 2.131 MB / 1.19 GB, free: 12.97 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/1.162, allocations: 1.31 MB / 1.191 GB, free: 11.64 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/1.164, allocations: 0.8523 MB / 1.192 GB, free: 10.79 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/1.166, allocations: 0.9104 MB / 1.193 GB, free: 9.871 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004143/1.166, allocations: 116 kB / 1.193 GB, free: 9.758 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/1.169, allocations: 1.177 MB / 1.194 GB, free: 8.578 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008229/1.17, allocations: 0.5219 MB / 1.194 GB, free: 8.055 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00183/1.172, allocations: 0.7888 MB / 1.195 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005243/1.177, allocations: 2.44 MB / 1.197 GB, free: 4.816 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/1.177, allocations: 0 / 1.197 GB, free: 4.816 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.094e-06/1.177, allocations: 0 / 1.197 GB, free: 4.816 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001094/1.177, allocations: 0 / 1.197 GB, free: 4.816 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004546/1.182, allocations: 1.912 MB / 1.199 GB, free: 2.844 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.182, allocations: 12.62 kB / 1.199 GB, free: 2.832 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004653/1.187, allocations: 0.6786 MB / 1.2 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/1.189, allocations: 1.013 MB / 1.201 GB, free: 1.098 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/1.189, allocations: 94.89 kB / 1.201 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004465/1.19, allocations: 132.3 kB / 1.201 GB, free: 0.875 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004199/1.194, allocations: 2.21 MB / 1.203 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.124e-05/1.194, allocations: 15.86 kB / 1.203 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/1.194, allocations: 59.97 kB / 1.203 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002436/1.194, allocations: 162.3 kB / 1.204 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/1.198, allocations: 1.871 MB / 1.205 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01458/1.213, allocations: 12.45 MB / 1.218 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00433/1.217, allocations: 1.964 MB / 1.22 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009002/1.218, allocations: 0.6049 MB / 1.22 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/1.218, allocations: 106.1 kB / 1.22 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/1.218, allocations: 43.56 kB / 1.22 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=103): time 4.218e-06/1.218, allocations: 0 / 1.22 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of matching and sorting (n=110): time 0.006569/1.225, allocations: 3.728 MB / 1.224 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/1.225, allocations: 72.34 kB / 1.224 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/1.226, allocations: 0.9166 MB / 1.225 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.398e-05/1.226, allocations: 45.7 kB / 1.225 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006187/1.227, allocations: 0.7533 MB / 1.226 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004087/1.228, allocations: 400.5 kB / 1.226 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004552/1.228, allocations: 291.4 kB / 1.226 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.228, allocations: 309.1 kB / 1.227 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009649/1.229, allocations: 0.609 MB / 1.227 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/1.231, allocations: 1.113 MB / 1.228 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/1.233, allocations: 1.828 MB / 1.23 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/1.233, allocations: 8 kB / 1.23 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003597/1.237, allocations: 2.105 MB / 1.232 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/1.237, allocations: 15.98 kB / 1.232 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/1.237, allocations: 24.11 kB / 1.232 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008751/1.238, allocations: 250.7 kB / 1.232 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/1.239, allocations: 375.4 kB / 1.233 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009642/1.249, allocations: 11.58 MB / 1.244 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/1.25, allocations: 128 kB / 1.244 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/1.25, allocations: 71.98 kB / 1.244 GB, free: 1.762 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0008517/1.251, allocations: 411.9 kB / 1.245 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/1.251, allocations: 139.2 kB / 1.245 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/1.254, allocations: 1.673 MB / 1.246 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/1.254, allocations: 7.969 kB / 1.246 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.254, allocations: 3.984 kB / 1.246 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005969/1.255, allocations: 312.1 kB / 1.247 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/1.255, allocations: 16 kB / 1.247 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007025/1.256, allocations: 87.88 kB / 1.247 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/1.256, allocations: 72.88 kB / 1.247 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003375/1.26, allocations: 1.648 MB / 1.249 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003046/1.263, allocations: 2.104 MB / 1.251 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007746/1.263, allocations: 0.5737 MB / 1.251 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009434/1.264, allocations: 0.6138 MB / 1.252 GB, free: 10 MB / 0.9825 GB Notification: Performance of Backend: time 4.41e-07/1.264, allocations: 0 / 1.252 GB, free: 10 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006468/1.271, allocations: 2.636 MB / 1.254 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of SimCode: time 0.00616/1.277, allocations: 3.02 MB / 1.257 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of Templates: time 0.04362/1.321, allocations: 25.29 MB / 1.282 GB, free: 11.07 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sen_Y.S[1],sen_Y.S[2],sen_D.S[1],sen_D.S[2],errorY,errorD Variables in the result:$cse1,$cse11,$cse13,$cse3,$cse5,$cse7,$cse9,RL_a.C,RL_a.CMax,RL_a.CMin,RL_a.C_internal,RL_a.L,RL_a.LMax,RL_a.LMin,RL_a.L_internal,RL_a.P_nominal,RL_a.R,RL_a.RMax,RL_a.RMin,RL_a.R_internal,RL_a.V_nominal,RL_a.inductive,RL_a.initMode,RL_a.linearized,RL_a.mode,RL_a.use_C_in,RL_a.use_L_in,RL_a.use_R_in,RL_ab.C,RL_ab.CMax,RL_ab.CMin,RL_ab.C_internal,RL_ab.L,RL_ab.LMax,RL_ab.LMin,RL_ab.L_internal,RL_ab.P_nominal,RL_ab.R,RL_ab.RMax,RL_ab.RMin,RL_ab.R_internal,RL_ab.V_nominal,RL_ab.inductive,RL_ab.initMode,RL_ab.linearized,RL_ab.mode,RL_ab.use_C_in,RL_ab.use_L_in,RL_ab.use_R_in,RL_b.C,RL_b.CMax,RL_b.CMin,RL_b.C_internal,RL_b.L,RL_b.LMax,RL_b.LMin,RL_b.L_internal,RL_b.P_nominal,RL_b.R,RL_b.RMax,RL_b.RMin,RL_b.R_internal,RL_b.V_nominal,RL_b.inductive,RL_b.initMode,RL_b.linearized,RL_b.mode,RL_b.use_C_in,RL_b.use_L_in,RL_b.use_R_in,RL_bc.C,RL_bc.CMax,RL_bc.CMin,RL_bc.C_internal,RL_bc.L,RL_bc.LMax,RL_bc.LMin,RL_bc.L_internal,RL_bc.P_nominal,RL_bc.R,RL_bc.RMax,RL_bc.RMin,RL_bc.R_internal,RL_bc.V_nominal,RL_bc.inductive,RL_bc.initMode,RL_bc.linearized,RL_bc.mode,RL_bc.use_C_in,RL_bc.use_L_in,RL_bc.use_R_in,RL_c.C,RL_c.CMax,RL_c.CMin,RL_c.C_internal,RL_c.L,RL_c.LMax,RL_c.LMin,RL_c.L_internal,RL_c.P_nominal,RL_c.R,RL_c.RMax,RL_c.RMin,RL_c.R_internal,RL_c.V_nominal,RL_c.inductive,RL_c.initMode,RL_c.linearized,RL_c.mode,RL_c.use_C_in,RL_c.use_L_in,RL_c.use_R_in,RL_c1.C,RL_c1.CMax,RL_c1.CMin,RL_c1.C_internal,RL_c1.L,RL_c1.LMax,RL_c1.LMin,RL_c1.L_internal,RL_c1.P_nominal,RL_c1.R,RL_c1.RMax,RL_c1.RMin,RL_c1.R_internal,RL_c1.V_nominal,RL_c1.inductive,RL_c1.initMode,RL_c1.linearized,RL_c1.mode,RL_c1.use_C_in,RL_c1.use_L_in,RL_c1.use_R_in,RL_star.C,RL_star.CMax,RL_star.CMin,RL_star.C_internal,RL_star.L,RL_star.LMax,RL_star.LMin,RL_star.L_internal,RL_star.P_nominal,RL_star.R,RL_star.RMax,RL_star.RMin,RL_star.R_internal,RL_star.V_nominal,RL_star.inductive,RL_star.initMode,RL_star.linearized,RL_star.mode,RL_star.star,RL_star.use_C_in,RL_star.use_L_in,RL_star.use_R_in,RL_tri.C,RL_tri.CMax,RL_tri.CMin,RL_tri.C_internal,RL_tri.L,RL_tri.LMax,RL_tri.LMin,RL_tri.L_internal,RL_tri.P_nominal,RL_tri.R,RL_tri.RMax,RL_tri.RMin,RL_tri.R_internal,RL_tri.V_nominal,RL_tri.inductive,RL_tri.initMode,RL_tri.linearized,RL_tri.mode,RL_tri.star,RL_tri.use_C_in,RL_tri.use_L_in,RL_tri.use_R_in,errorD,errorY,sen_D.S[1],sen_D.S[2],sen_Y.S[1],sen_Y.S[2],sou.V,sou.definiteReference,sou.f,sou.phiSou,sou.potentialReference,sou_a.V,sou_a.definiteReference,sou_a.f,sou_a.phiSou,sou_a.potentialReference,sou_ab.V,sou_ab.definiteReference,sou_ab.f,sou_ab.phiSou,sou_ab.potentialReference,sou_b.V,sou_b.definiteReference,sou_b.f,sou_b.phiSou,sou_b.potentialReference,sou_bc.V,sou_bc.definiteReference,sou_bc.f,sou_bc.phiSou,sou_bc.potentialReference,sou_c.V,sou_c.definiteReference,sou_c.f,sou_c.phiSou,sou_c.potentialReference,sou_ca.V,sou_ca.definiteReference,sou_ca.f,sou_ca.phiSou,sou_ca.potentialReference,time