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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008554/0.0008555, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006374/0.006374, allocations: 174.5 kB / 16.27 MB, free: 6.648 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.438/1.438, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.653/2.653, allocations: 443.3 MB / 0.7175 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003995, allocations: 13.25 kB / 0.8796 GB, free: 41.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3425, allocations: 155.2 MB / 1.031 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003021/0.3456, allocations: 2.333 MB / 1.033 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002288/0.3479, allocations: 1.403 MB / 1.035 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.348, allocations: 0 / 1.035 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.3482, allocations: 31.72 kB / 1.035 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004749/0.3487, allocations: 127.5 kB / 1.035 GB, free: 408 kB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.3492, allocations: 167.7 kB / 1.035 GB, free: 240 kB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.3496, allocations: 315.2 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006339/0.3502, allocations: 238 kB / 1.036 GB, free: 15.67 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.3504, allocations: 71.7 kB / 1.036 GB, free: 15.6 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.3506, allocations: 99.62 kB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.3507, allocations: 4 kB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/0.351, allocations: 219.6 kB / 1.036 GB, free: 15.29 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.3511, allocations: 55.81 kB / 1.036 GB, free: 15.23 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.615e-05/0.3512, allocations: 97.3 kB / 1.036 GB, free: 15.13 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.3517, allocations: 291.3 kB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.3517, allocations: 4 kB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3517, allocations: 0 / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.3517, allocations: 0 / 1.036 GB, free: 14.84 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007486/0.3524, allocations: 439.2 kB / 1.037 GB, free: 14.36 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3525, allocations: 12.03 kB / 1.037 GB, free: 14.35 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000569/0.3531, allocations: 64.69 kB / 1.037 GB, free: 14.29 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.3534, allocations: 232 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.3534, allocations: 8.656 kB / 1.037 GB, free: 14.01 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.3534, allocations: 16.38 kB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005065/0.354, allocations: 283.6 kB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.354, allocations: 3.938 kB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.354, allocations: 8 kB / 1.037 GB, free: 13.67 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.944e-05/0.3541, allocations: 24.16 kB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.3545, allocations: 208.5 kB / 1.038 GB, free: 13.44 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.3566, allocations: 1.572 MB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.3571, allocations: 323.3 kB / 1.039 GB, free: 11.36 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.3573, allocations: 61.69 kB / 1.04 GB, free: 11.3 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.3573, allocations: 4 kB / 1.04 GB, free: 11.29 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3573, allocations: 38.5 kB / 1.04 GB, free: 11.25 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 2.495e-06/0.3573, allocations: 3.938 kB / 1.04 GB, free: 11.24 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0006955/0.358, allocations: 240.6 kB / 1.04 GB, free: 11 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.3581, allocations: 77.11 kB / 1.04 GB, free: 10.91 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.3583, allocations: 207.3 kB / 1.04 GB, free: 10.7 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3584, allocations: 25.7 kB / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.3585, allocations: 156 kB / 1.04 GB, free: 10.51 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.3586, allocations: 47.39 kB / 1.04 GB, free: 10.46 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.3586, allocations: 25.7 kB / 1.04 GB, free: 10.43 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3588, allocations: 326.8 kB / 1.041 GB, free: 10.1 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.3589, allocations: 63.95 kB / 1.041 GB, free: 10.04 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.3591, allocations: 152.6 kB / 1.041 GB, free: 9.852 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.3594, allocations: 238.8 kB / 1.041 GB, free: 9.578 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3594, allocations: 0 / 1.041 GB, free: 9.578 MB / 0.795 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003865/0.3598, allocations: 253.2 kB / 1.041 GB, free: 9.324 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.3599, allocations: 183.6 kB / 1.041 GB, free: 9.102 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.3599, allocations: 4 kB / 1.041 GB, free: 9.098 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.3599, allocations: 4 kB / 1.041 GB, free: 9.094 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.3602, allocations: 47.91 kB / 1.042 GB, free: 9.047 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.3602, allocations: 7.938 kB / 1.042 GB, free: 9.039 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.3604, allocations: 15.98 kB / 1.042 GB, free: 9.023 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.3604, allocations: 8 kB / 1.042 GB, free: 9.016 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.3604, allocations: 5.875 kB / 1.042 GB, free: 9.012 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002976/0.3607, allocations: 199.6 kB / 1.042 GB, free: 8.816 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/0.3607, allocations: 4 kB / 1.042 GB, free: 8.812 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.591e-06/0.3607, allocations: 4 kB / 1.042 GB, free: 8.809 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3609, allocations: 47.91 kB / 1.042 GB, free: 8.762 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3609, allocations: 7.938 kB / 1.042 GB, free: 8.754 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.361, allocations: 23.83 kB / 1.042 GB, free: 8.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.361, allocations: 12 kB / 1.042 GB, free: 8.719 MB / 0.795 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.0001655/0.3612, allocations: 225.4 kB / 1.042 GB, free: 8.488 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.3613, allocations: 7.906 kB / 1.042 GB, free: 8.48 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.3616, allocations: 146.9 kB / 1.042 GB, free: 8.328 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3616, allocations: 4 kB / 1.042 GB, free: 8.324 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3616, allocations: 3.938 kB / 1.042 GB, free: 8.32 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3616, allocations: 0 / 1.042 GB, free: 8.32 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.3627, allocations: 0.7197 MB / 1.043 GB, free: 7.516 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3627, allocations: 4.062 kB / 1.043 GB, free: 7.512 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.3628, allocations: 28.33 kB / 1.043 GB, free: 7.484 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3628, allocations: 8 kB / 1.043 GB, free: 7.477 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.3628, allocations: 4 kB / 1.043 GB, free: 7.473 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.3628, allocations: 7.984 kB / 1.043 GB, free: 7.465 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.3629, allocations: 3.938 kB / 1.043 GB, free: 7.461 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.3632, allocations: 386.1 kB / 1.043 GB, free: 7.039 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.76e-05/0.3633, allocations: 104.9 kB / 1.043 GB, free: 6.918 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.3634, allocations: 7.984 kB / 1.043 GB, free: 6.91 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.3635, allocations: 16 kB / 1.043 GB, free: 6.895 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.3636, allocations: 11.92 kB / 1.043 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.3636, allocations: 4 kB / 1.043 GB, free: 6.879 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001283/0.3637, allocations: 145.2 kB / 1.044 GB, free: 6.738 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3637, allocations: 0 / 1.044 GB, free: 6.738 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005045/0.3642, allocations: 72 kB / 1.044 GB, free: 6.668 MB / 0.795 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.0001697/0.3644, allocations: 119.1 kB / 1.044 GB, free: 6.539 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004522/0.3649, allocations: 264.9 kB / 1.044 GB, free: 6.281 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.3649, allocations: 0 / 1.044 GB, free: 6.281 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.844e-05/0.365, allocations: 64.33 kB / 1.044 GB, free: 6.219 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.3656, allocations: 28.53 kB / 1.044 GB, free: 6.191 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.3666, allocations: 0.4912 MB / 1.045 GB, free: 5.648 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.3671, allocations: 0.7324 MB / 1.045 GB, free: 4.887 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002323/0.3673, allocations: 85.47 kB / 1.045 GB, free: 4.805 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.3674, allocations: 19.44 kB / 1.045 GB, free: 4.789 MB / 0.795 GB Notification: Performance of SimCode: time 1.002e-06/0.3674, allocations: 0 / 1.045 GB, free: 4.789 MB / 0.795 GB Notification: Performance of Templates: time 0.005164/0.3725, allocations: 1.657 MB / 1.047 GB, free: 3.168 MB / 0.795 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=480 -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