Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001437/0.001438, allocations: 195.5 kB / 16.26 MB, free: 6.621 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.897/2.897, allocations: 482.3 MB / 0.7543 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 66.53 kB / 0.9233 GB, free: 29.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3211, allocations: 162.2 MB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.0048/0.326, allocations: 2.692 MB / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002612/0.3286, allocations: 1.566 MB / 1.086 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.3287, allocations: 4 kB / 1.086 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007162/0.3295, allocations: 163.4 kB / 1.086 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.3299, allocations: 139.5 kB / 1.086 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.3303, allocations: 163.7 kB / 1.086 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.3306, allocations: 215.3 kB / 1.087 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.331, allocations: 149 kB / 1.087 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.3312, allocations: 91.62 kB / 1.087 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.3314, allocations: 103.7 kB / 1.087 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.3314, allocations: 12 kB / 1.087 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.3318, allocations: 215.5 kB / 1.087 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.585e-05/0.3319, allocations: 67.8 kB / 1.087 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.032e-05/0.332, allocations: 79.61 kB / 1.087 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.3324, allocations: 311.3 kB / 1.088 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.3324, allocations: 4 kB / 1.088 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3324, allocations: 0 / 1.088 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3324, allocations: 0 / 1.088 GB, free: 7.648 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007761/0.3332, allocations: 479 kB / 1.088 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3333, allocations: 12.03 kB / 1.088 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000767/0.334, allocations: 88.64 kB / 1.088 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.3344, allocations: 228 kB / 1.088 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3344, allocations: 8.656 kB / 1.088 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.3344, allocations: 12.38 kB / 1.088 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.335, allocations: 303.5 kB / 1.089 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.335, allocations: 0 / 1.089 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.335, allocations: 8 kB / 1.089 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/0.3351, allocations: 20.22 kB / 1.089 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.3355, allocations: 220.4 kB / 1.089 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.3376, allocations: 1.599 MB / 1.09 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.338, allocations: 315.2 kB / 1.091 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3381, allocations: 65.69 kB / 1.091 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.3382, allocations: 0 / 1.091 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.3382, allocations: 34.56 kB / 1.091 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.3382, allocations: 4 kB / 1.091 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0005885/0.3388, allocations: 248.4 kB / 1.091 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.3389, allocations: 77.27 kB / 1.091 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.3391, allocations: 211.4 kB / 1.091 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3392, allocations: 25.7 kB / 1.091 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.3393, allocations: 151.7 kB / 1.091 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.3393, allocations: 43.45 kB / 1.092 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.3394, allocations: 45.89 kB / 1.092 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3396, allocations: 322.8 kB / 1.092 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.3398, allocations: 84.8 kB / 1.092 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.34, allocations: 168.5 kB / 1.092 GB, free: 2.504 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.3404, allocations: 230.9 kB / 1.092 GB, free: 2.238 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3404, allocations: 0 / 1.092 GB, free: 2.238 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005163/0.3409, allocations: 273.1 kB / 1.093 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3409, allocations: 8.375 kB / 1.093 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3409, allocations: 4 kB / 1.093 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.341, allocations: 7.938 kB / 1.093 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.3413, allocations: 55.89 kB / 1.093 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.3413, allocations: 7.938 kB / 1.093 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.3415, allocations: 23.92 kB / 1.093 GB, free: 1.859 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.3416, allocations: 15.98 kB / 1.093 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002196/0.3418, allocations: 168.1 kB / 1.093 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002068/0.342, allocations: 153.2 kB / 1.093 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003047/0.3423, allocations: 219.8 kB / 1.093 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.3423, allocations: 0 / 1.093 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004712/0.3428, allocations: 257.1 kB / 1.093 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3428, allocations: 9.25 kB / 1.094 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3428, allocations: 4.172 kB / 1.094 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.3429, allocations: 11.98 kB / 1.094 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.3431, allocations: 48.31 kB / 1.094 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3431, allocations: 15.88 kB / 1.094 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.3433, allocations: 23.97 kB / 1.094 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.3433, allocations: 8 kB / 1.094 GB, free: 0.8516 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.3435, allocations: 196.1 kB / 1.094 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.3435, allocations: 15.81 kB / 1.094 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.3438, allocations: 151.4 kB / 1.094 GB, free: 496 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3438, allocations: 7.938 kB / 1.094 GB, free: 488 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3439, allocations: 4 kB / 1.094 GB, free: 484 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3439, allocations: 0 / 1.094 GB, free: 484 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.3449, allocations: 0.7196 MB / 1.095 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3449, allocations: 0 / 1.095 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.345, allocations: 27.92 kB / 1.095 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.345, allocations: 4 kB / 1.095 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.3451, allocations: 4 kB / 1.095 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3451, allocations: 0 / 1.095 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3451, allocations: 8.016 kB / 1.095 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.3455, allocations: 390.5 kB / 1.095 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.3456, allocations: 101 kB / 1.095 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.3456, allocations: 4 kB / 1.095 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.3458, allocations: 11.98 kB / 1.095 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.3459, allocations: 19.86 kB / 1.095 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.3459, allocations: 8 kB / 1.095 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001938/0.3461, allocations: 161.1 kB / 1.095 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3461, allocations: 0 / 1.095 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005151/0.3466, allocations: 72 kB / 1.095 GB, free: 14.81 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001688/0.3468, allocations: 111.1 kB / 1.096 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005503/0.3473, allocations: 279.6 kB / 1.096 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3473, allocations: 1.5 kB / 1.096 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.154e-05/0.3474, allocations: 64.47 kB / 1.096 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.3479, allocations: 37.69 kB / 1.096 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008128/0.3487, allocations: 482.5 kB / 1.096 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.3492, allocations: 0.7363 MB / 1.097 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002519/0.3495, allocations: 73.47 kB / 1.097 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.3495, allocations: 15.44 kB / 1.097 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.3495, allocations: 4 kB / 1.097 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of Templates: time 0.004968/0.3545, allocations: 1.888 MB / 1.099 GB, free: 11.1 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches