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.001986/0.001986, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002189/0.002189, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.516/1.516, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.867/2.867, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002196, allocations: 67.89 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7451/0.7474, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01561/0.763, allocations: 11.09 MB / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01277/0.7758, allocations: 5.8 MB / 1.034 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.7777, allocations: 51.62 kB / 1.034 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005468/0.7832, allocations: 1.719 MB / 1.036 GB, free: 15.79 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004237/0.7875, allocations: 1.147 MB / 1.037 GB, free: 14.64 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.7901, allocations: 0.8104 MB / 1.037 GB, free: 13.83 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003605/0.7937, allocations: 2.123 MB / 1.04 GB, free: 11.7 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002999/0.7967, allocations: 1.312 MB / 1.041 GB, free: 10.37 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.7993, allocations: 0.8407 MB / 1.042 GB, free: 9.523 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00306/0.8024, allocations: 0.9104 MB / 1.043 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0007602/0.8032, allocations: 112 kB / 1.043 GB, free: 8.5 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/0.8065, allocations: 1.181 MB / 1.044 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.8076, allocations: 0.522 MB / 1.044 GB, free: 6.793 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.8092, allocations: 0.7849 MB / 1.045 GB, free: 6.004 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004765/0.814, allocations: 2.391 MB / 1.047 GB, free: 3.605 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.8141, allocations: 4 kB / 1.047 GB, free: 3.602 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8141, allocations: 0 / 1.047 GB, free: 3.602 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001039/0.8142, allocations: 4 kB / 1.047 GB, free: 3.598 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.004911/0.8191, allocations: 1.867 MB / 1.049 GB, free: 1.672 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.8192, allocations: 8.031 kB / 1.049 GB, free: 1.664 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004922/0.8241, allocations: 0.6699 MB / 1.05 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.8261, allocations: 0.9068 MB / 1.051 GB, free: 40 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.8263, allocations: 98.98 kB / 1.051 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000352/0.8267, allocations: 128.3 kB / 1.051 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004347/0.831, allocations: 2.206 MB / 1.053 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-05/0.8311, allocations: 19.78 kB / 1.053 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.8313, allocations: 59.97 kB / 1.053 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002392/0.8316, allocations: 166.3 kB / 1.053 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003648/0.8352, allocations: 1.863 MB / 1.055 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01603/0.8513, allocations: 12.48 MB / 1.067 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00496/0.8563, allocations: 1.961 MB / 1.069 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.8574, allocations: 0.605 MB / 1.07 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/0.8576, allocations: 106.1 kB / 1.07 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.8577, allocations: 39.56 kB / 1.07 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=103): time 3.988e-06/0.8577, allocations: 0 / 1.07 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110): time 0.007184/0.8649, allocations: 3.706 MB / 1.074 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.865, allocations: 68.41 kB / 1.074 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.8665, allocations: 0.9243 MB / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.8665, allocations: 45.64 kB / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007518/0.8673, allocations: 0.7315 MB / 1.075 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003881/0.8677, allocations: 382.5 kB / 1.076 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00044/0.8681, allocations: 287.2 kB / 1.076 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.8683, allocations: 301.1 kB / 1.076 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009458/0.8693, allocations: 0.6129 MB / 1.077 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.8708, allocations: 1.113 MB / 1.078 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002651/0.8735, allocations: 1.832 MB / 1.08 GB, free: 468 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.8735, allocations: 4 kB / 1.08 GB, free: 464 kB / 0.8262 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003915/0.8774, allocations: 2.099 MB / 1.082 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.8775, allocations: 12 kB / 1.082 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.8775, allocations: 16.84 kB / 1.082 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008569/0.8784, allocations: 262.6 kB / 1.082 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.8797, allocations: 375.4 kB / 1.082 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.8903, allocations: 11.58 MB / 1.094 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.8918, allocations: 127.8 kB / 1.094 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.892, allocations: 75.92 kB / 1.094 GB, free: 0.7461 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.0007554/0.8928, allocations: 409.9 kB / 1.094 GB, free: 344 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.893, allocations: 134.4 kB / 1.094 GB, free: 208 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/0.8961, allocations: 1.677 MB / 1.096 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.8961, allocations: 12 kB / 1.096 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.8961, allocations: 4 kB / 1.096 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.8962, allocations: 3.984 kB / 1.096 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005603/0.9018, allocations: 3.303 MB / 1.099 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.9018, allocations: 8 kB / 1.099 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008635/0.9027, allocations: 219.6 kB / 1.1 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000723/0.9034, allocations: 238.7 kB / 1.1 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.355e-05/0.9035, allocations: 31.94 kB / 1.1 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/0.9149, allocations: 11.57 MB / 1.111 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/0.9149, allocations: 11.92 kB / 1.111 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003493/0.9184, allocations: 1.799 MB / 1.113 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007311/0.9192, allocations: 307.4 kB / 1.113 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.9194, allocations: 32 kB / 1.113 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007639/0.9201, allocations: 91.86 kB / 1.113 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.9204, allocations: 100.6 kB / 1.113 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.806e-05/0.9205, allocations: 39.98 kB / 1.113 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009111/0.9214, allocations: 0.6177 MB / 1.114 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9214, allocations: 0 / 1.114 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001558/0.9229, allocations: 392 kB / 1.114 GB, free: 10.32 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.0002816/0.9232, allocations: 148.8 kB / 1.115 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005015/0.9283, allocations: 2.879 MB / 1.117 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.9283, allocations: 0.875 kB / 1.117 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002419/0.9307, allocations: 1.629 MB / 1.119 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.9331, allocations: 357.5 kB / 1.119 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006443/0.9395, allocations: 2.78 MB / 1.122 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001869/0.9414, allocations: 1.327 MB / 1.123 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001403/0.9429, allocations: 363.3 kB / 1.124 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.9432, allocations: 95.42 kB / 1.124 GB, free: 436 kB / 0.8731 GB Notification: Performance of SimCode: time 1.172e-06/0.9432, allocations: 0 / 1.124 GB, free: 436 kB / 0.8731 GB Notification: Performance of Templates: time 0.03711/0.9804, allocations: 17.08 MB / 1.14 GB, free: 15.51 MB / 0.9044 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=400 -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/jenkins/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