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.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.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.008276/0.008276, allocations: 100.9 kB / 15.87 MB, free: 5.863 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.002033/0.002033, allocations: 188.9 kB / 16.79 MB, free: 5.805 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.398/1.398, allocations: 222.9 MB / 240.5 MB, free: 4.586 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.551/2.551, allocations: 437 MB / 0.7106 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 71.88 kB / 0.8692 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.6476, allocations: 151.6 MB / 1.017 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01303/0.6607, allocations: 11.06 MB / 1.028 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009387/0.6701, allocations: 5.848 MB / 1.034 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.6713, allocations: 47.69 kB / 1.034 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003956/0.6753, allocations: 1.627 MB / 1.035 GB, free: 312 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003063/0.6784, allocations: 1.066 MB / 1.036 GB, free: 15.23 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.6803, allocations: 0.7379 MB / 1.037 GB, free: 14.5 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00311/0.6834, allocations: 2.856 MB / 1.04 GB, free: 11.63 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.6853, allocations: 1.307 MB / 1.041 GB, free: 10.3 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.6865, allocations: 0.7546 MB / 1.042 GB, free: 9.547 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.6877, allocations: 0.9338 MB / 1.043 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.6879, allocations: 80 kB / 1.043 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002481/0.6904, allocations: 1.466 MB / 1.044 GB, free: 7.062 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004872/0.6909, allocations: 0.4907 MB / 1.045 GB, free: 6.57 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007889/0.6917, allocations: 0.7498 MB / 1.046 GB, free: 5.816 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002216/0.6939, allocations: 1.867 MB / 1.047 GB, free: 3.945 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.6939, allocations: 4 kB / 1.047 GB, free: 3.941 MB / 0.795 GB Notification: Performance of FrontEnd: time 7.71e-07/0.6939, allocations: 0 / 1.047 GB, free: 3.941 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.806e-05/0.694, allocations: 0 / 1.047 GB, free: 3.941 MB / 0.795 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.002626/0.6966, allocations: 1.871 MB / 1.049 GB, free: 2.012 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.6967, allocations: 12.03 kB / 1.049 GB, free: 2 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004271/0.7009, allocations: 0.6582 MB / 1.05 GB, free: 1.34 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.7024, allocations: 0.9185 MB / 1.051 GB, free: 384 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.978e-05/0.7024, allocations: 94.88 kB / 1.051 GB, free: 288 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.7026, allocations: 132.2 kB / 1.051 GB, free: 156 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002999/0.7056, allocations: 2.203 MB / 1.053 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/0.7057, allocations: 15.88 kB / 1.053 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.7058, allocations: 59.97 kB / 1.053 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001974/0.706, allocations: 162.3 kB / 1.053 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/0.7087, allocations: 1.867 MB / 1.055 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/0.7198, allocations: 12.49 MB / 1.067 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003959/0.7238, allocations: 1.964 MB / 1.069 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007995/0.7246, allocations: 0.6011 MB / 1.07 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.7248, allocations: 102.1 kB / 1.07 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.7248, allocations: 47.56 kB / 1.07 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=103): time 3.085e-06/0.7248, allocations: 0 / 1.07 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110): time 0.0056/0.7304, allocations: 3.71 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.7305, allocations: 64.41 kB / 1.074 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009821/0.7315, allocations: 0.9165 MB / 1.075 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.7316, allocations: 45.69 kB / 1.075 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004531/0.732, allocations: 0.7276 MB / 1.075 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.7323, allocations: 386.4 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003715/0.7327, allocations: 287.2 kB / 1.076 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.7328, allocations: 313.1 kB / 1.076 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008578/0.7337, allocations: 0.6051 MB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.7348, allocations: 1.113 MB / 1.078 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/0.7369, allocations: 1.828 MB / 1.08 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.7369, allocations: 4 kB / 1.08 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003097/0.74, allocations: 2.104 MB / 1.082 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.7401, allocations: 12 kB / 1.082 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.7401, allocations: 16 kB / 1.082 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007805/0.7409, allocations: 262.7 kB / 1.082 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.742, allocations: 371.4 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007649/0.7497, allocations: 10.76 MB / 1.093 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.7507, allocations: 131.8 kB / 1.093 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.7509, allocations: 71.98 kB / 1.093 GB, free: 1.949 MB / 0.8419 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.0006024/0.7515, allocations: 405.8 kB / 1.094 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.7516, allocations: 130.5 kB / 1.094 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/0.7543, allocations: 1.681 MB / 1.095 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.7543, allocations: 12 kB / 1.095 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.7543, allocations: 4 kB / 1.095 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.7544, allocations: 3.984 kB / 1.095 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004526/0.7589, allocations: 3.292 MB / 1.099 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/0.7589, allocations: 4 kB / 1.099 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007804/0.7597, allocations: 223.6 kB / 1.099 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007017/0.7604, allocations: 246.8 kB / 1.099 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.909e-05/0.7605, allocations: 28 kB / 1.099 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00789/0.7684, allocations: 10.74 MB / 1.11 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.7684, allocations: 7.938 kB / 1.11 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/0.7712, allocations: 1.796 MB / 1.111 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005741/0.7718, allocations: 315.2 kB / 1.112 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/0.7721, allocations: 28 kB / 1.112 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/0.7728, allocations: 99.8 kB / 1.112 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.773, allocations: 96.7 kB / 1.112 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.207e-05/0.7731, allocations: 32 kB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008033/0.7739, allocations: 0.6177 MB / 1.112 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7739, allocations: 0 / 1.112 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001451/0.7754, allocations: 392 kB / 1.113 GB, free: 12.43 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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 Backend phase and start with SimCode phase: time 0.0002765/0.7757, allocations: 147 kB / 1.113 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00368/0.7794, allocations: 2.484 MB / 1.115 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.7794, allocations: 4.875 kB / 1.115 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.7815, allocations: 1.629 MB / 1.117 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.7833, allocations: 326.5 kB / 1.117 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005114/0.7885, allocations: 3.475 MB / 1.121 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009931/0.7895, allocations: 1.327 MB / 1.122 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004111/0.7899, allocations: 111.4 kB / 1.122 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of SimCode: time 8.12e-07/0.7899, allocations: 4 kB / 1.122 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of Templates: time 0.06044/0.8503, allocations: 59.16 MB / 1.18 GB, free: 7.406 MB / 0.9356 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) Reference file matches