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.001169/0.001169, allocations: 99.27 kB / 16.02 MB, free: 76 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.00156/0.00156, allocations: 183.2 kB / 16.92 MB, free: 6.918 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.409/1.409, allocations: 223.3 MB / 241 MB, free: 5.34 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.671/2.671, allocations: 437.8 MB / 0.7128 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003766, allocations: 12 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7104/0.7107, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01263/0.7234, allocations: 10.55 MB / 1.034 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009567/0.733, allocations: 5.782 MB / 1.04 GB, free: 15.49 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.7344, allocations: 43.69 kB / 1.04 GB, free: 15.45 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.7355, allocations: 245.9 kB / 1.04 GB, free: 15.2 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.7389, allocations: 1.062 MB / 1.041 GB, free: 14.14 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.7411, allocations: 0.7406 MB / 1.042 GB, free: 13.4 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00372/0.7449, allocations: 2.864 MB / 1.044 GB, free: 10.52 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004646/0.7495, allocations: 2.333 MB / 1.047 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.7511, allocations: 0.696 MB / 1.047 GB, free: 7.449 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.7528, allocations: 0.8596 MB / 1.048 GB, free: 6.586 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000349/0.7532, allocations: 56 kB / 1.048 GB, free: 6.531 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.7561, allocations: 1.438 MB / 1.05 GB, free: 5.09 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007576/0.7568, allocations: 470.5 kB / 1.05 GB, free: 4.629 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.7581, allocations: 0.728 MB / 1.051 GB, free: 3.891 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002871/0.761, allocations: 1.837 MB / 1.053 GB, free: 2.051 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.761, allocations: 7.984 kB / 1.053 GB, free: 2.043 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7611, allocations: 4 kB / 1.053 GB, free: 2.039 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.916e-05/0.7612, allocations: 0 / 1.053 GB, free: 2.039 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.003269/0.7644, allocations: 1.603 MB / 1.054 GB, free: 388 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.7645, allocations: 8.031 kB / 1.054 GB, free: 380 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004708/0.7692, allocations: 0.67 MB / 1.055 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.771, allocations: 0.9145 MB / 1.056 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-05/0.7711, allocations: 98.89 kB / 1.056 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003448/0.7714, allocations: 124.3 kB / 1.056 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003726/0.7752, allocations: 2.21 MB / 1.058 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.021e-05/0.7752, allocations: 19.78 kB / 1.058 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/0.7754, allocations: 63.95 kB / 1.058 GB, free: 12 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002152/0.7756, allocations: 162.3 kB / 1.058 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003068/0.7787, allocations: 1.867 MB / 1.06 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.7912, allocations: 12.47 MB / 1.072 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004366/0.7957, allocations: 1.969 MB / 1.074 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008729/0.7966, allocations: 0.6089 MB / 1.075 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.7968, allocations: 102.1 kB / 1.075 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.7968, allocations: 43.56 kB / 1.075 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=103): time 3.096e-06/0.7968, allocations: 0 / 1.075 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110): time 0.006499/0.8033, allocations: 3.722 MB / 1.079 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.8034, allocations: 60.41 kB / 1.079 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.8047, allocations: 0.9204 MB / 1.08 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.8047, allocations: 41.7 kB / 1.08 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005157/0.8053, allocations: 0.7314 MB / 1.08 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003463/0.8056, allocations: 390.4 kB / 1.081 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.8058, allocations: 121.6 kB / 1.081 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.8059, allocations: 301.1 kB / 1.081 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009567/0.8069, allocations: 0.6129 MB / 1.082 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.8082, allocations: 1.113 MB / 1.083 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.8106, allocations: 1.828 MB / 1.085 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.8107, allocations: 4 kB / 1.085 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003558/0.8142, allocations: 2.103 MB / 1.087 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.8143, allocations: 13.88 kB / 1.087 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.8143, allocations: 16.91 kB / 1.087 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008725/0.8152, allocations: 258.6 kB / 1.087 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.8165, allocations: 379.4 kB / 1.087 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008639/0.8252, allocations: 10.76 MB / 1.098 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.8266, allocations: 127.8 kB / 1.098 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/0.8268, allocations: 67.98 kB / 1.098 GB, free: 480 kB / 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.0007859/0.8276, allocations: 409.8 kB / 1.098 GB, free: 60 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.8279, allocations: 130.5 kB / 1.099 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/0.8309, allocations: 1.681 MB / 1.1 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.831, allocations: 12 kB / 1.1 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.831, allocations: 0 / 1.1 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.831, allocations: 7.969 kB / 1.1 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005286/0.8363, allocations: 3.303 MB / 1.103 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.8363, allocations: 4 kB / 1.103 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008671/0.8372, allocations: 219.6 kB / 1.104 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007521/0.838, allocations: 250.8 kB / 1.104 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.479e-05/0.8381, allocations: 24 kB / 1.104 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008339/0.8464, allocations: 10.74 MB / 1.114 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.8464, allocations: 8 kB / 1.114 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002944/0.8494, allocations: 1.803 MB / 1.116 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006501/0.8501, allocations: 319.4 kB / 1.116 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.8503, allocations: 27.98 kB / 1.117 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008403/0.8512, allocations: 95.81 kB / 1.117 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.8514, allocations: 96.7 kB / 1.117 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.448e-05/0.8515, allocations: 32 kB / 1.117 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008487/0.8523, allocations: 0.6216 MB / 1.117 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8524, allocations: 0 / 1.117 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001536/0.8539, allocations: 392 kB / 1.118 GB, free: 10.92 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.000277/0.8542, allocations: 149.2 kB / 1.118 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003779/0.858, allocations: 2.497 MB / 1.12 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.858, allocations: 0 / 1.12 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.8602, allocations: 1.633 MB / 1.122 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/0.8629, allocations: 335.9 kB / 1.122 GB, free: 6.109 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005305/0.8682, allocations: 3.496 MB / 1.126 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.8693, allocations: 1.323 MB / 1.127 GB, free: 1.152 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004778/0.8698, allocations: 115.4 kB / 1.127 GB, free: 1.039 MB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/0.8698, allocations: 0 / 1.127 GB, free: 1.039 MB / 0.8731 GB Notification: Performance of Templates: time 0.06247/0.9323, allocations: 58.99 MB / 1.185 GB, free: 6.035 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