Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001628, allocations: 107.1 kB / 16.35 MB, free: 5.824 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.001535/0.001535, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.498/1.498, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.569/2.569, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 68.17 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3274, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003982/0.3315, allocations: 2.45 MB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002176/0.3337, allocations: 1.422 MB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.851e-05/0.3338, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006581/0.3345, allocations: 175.3 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.3348, allocations: 131.4 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.3352, allocations: 187 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.3355, allocations: 219.3 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.3358, allocations: 125 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.336, allocations: 83.69 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.3362, allocations: 103.6 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.3362, allocations: 12 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.3365, allocations: 183.6 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.059e-05/0.3366, allocations: 59.88 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.92e-05/0.3367, allocations: 75.59 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.3371, allocations: 283.1 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3371, allocations: 11.94 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3371, allocations: 0 / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.3371, allocations: 0 / 1.032 GB, free: 12.56 MB / 0.8106 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.0006577/0.3378, allocations: 475 kB / 1.033 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3378, allocations: 8.75 kB / 1.033 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005284/0.3383, allocations: 64.67 kB / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.3386, allocations: 232.1 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3387, allocations: 12.66 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.3387, allocations: 12.38 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.3391, allocations: 283.6 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3391, allocations: 3.938 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.3392, allocations: 12 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.3392, allocations: 16.22 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.3395, allocations: 204.5 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.3411, allocations: 1.583 MB / 1.035 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.3415, allocations: 319.3 kB / 1.035 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.582e-05/0.3416, allocations: 61.69 kB / 1.035 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3417, allocations: 7.938 kB / 1.035 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.3417, allocations: 34.55 kB / 1.035 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.3417, allocations: 0 / 1.035 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0005329/0.3422, allocations: 240.6 kB / 1.036 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.3423, allocations: 81.09 kB / 1.036 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.3425, allocations: 199.9 kB / 1.036 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3425, allocations: 33.7 kB / 1.036 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.3426, allocations: 155.8 kB / 1.036 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.3426, allocations: 31.55 kB / 1.036 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.3427, allocations: 57.59 kB / 1.036 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3429, allocations: 323 kB / 1.036 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.343, allocations: 80.81 kB / 1.036 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.3431, allocations: 149 kB / 1.037 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.3434, allocations: 234.9 kB / 1.037 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3434, allocations: 4 kB / 1.037 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003679/0.3438, allocations: 261.2 kB / 1.037 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3438, allocations: 4 kB / 1.037 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3438, allocations: 4.469 kB / 1.037 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3438, allocations: 7.984 kB / 1.037 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.3441, allocations: 59.89 kB / 1.037 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.3441, allocations: 7.984 kB / 1.037 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.3443, allocations: 15.92 kB / 1.037 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.3443, allocations: 12 kB / 1.037 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001445/0.3444, allocations: 156.4 kB / 1.037 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001568/0.3446, allocations: 163.8 kB / 1.037 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002336/0.3448, allocations: 215.8 kB / 1.038 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.3449, allocations: 0 / 1.038 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003326/0.3452, allocations: 245.2 kB / 1.038 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/0.3452, allocations: 4 kB / 1.038 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3452, allocations: 4 kB / 1.038 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/0.3452, allocations: 4 kB / 1.038 GB, free: 6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.3454, allocations: 51.91 kB / 1.038 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3454, allocations: 11.94 kB / 1.038 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.3456, allocations: 8.109 kB / 1.038 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.3456, allocations: 16 kB / 1.038 GB, free: 5.914 MB / 0.8106 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 9.723e-05/0.3457, allocations: 192.5 kB / 1.038 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.3457, allocations: 15.81 kB / 1.038 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.346, allocations: 147 kB / 1.038 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.346, allocations: 7.938 kB / 1.038 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.346, allocations: 0 / 1.038 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.346, allocations: 0 / 1.038 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009184/0.3469, allocations: 0.7196 MB / 1.039 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3469, allocations: 0 / 1.039 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.347, allocations: 23.98 kB / 1.039 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3471, allocations: 4.344 kB / 1.039 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3471, allocations: 11.94 kB / 1.039 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.3471, allocations: 7.984 kB / 1.039 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.3471, allocations: 0 / 1.039 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.3474, allocations: 382.1 kB / 1.039 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.985e-05/0.3475, allocations: 108.8 kB / 1.04 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.3475, allocations: 7.984 kB / 1.04 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.3477, allocations: 12 kB / 1.04 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.3478, allocations: 19.86 kB / 1.04 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.3478, allocations: 4 kB / 1.04 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001181/0.3479, allocations: 145.2 kB / 1.04 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3479, allocations: 0 / 1.04 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005049/0.3484, allocations: 72 kB / 1.04 GB, free: 3.895 MB / 0.8106 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.0001534/0.3486, allocations: 115.2 kB / 1.04 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004025/0.349, allocations: 265.4 kB / 1.04 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.349, allocations: 4 kB / 1.04 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.078e-05/0.3491, allocations: 68.33 kB / 1.04 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.3496, allocations: 34.95 kB / 1.04 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006659/0.3502, allocations: 411.1 kB / 1.041 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.3506, allocations: 0.7285 MB / 1.041 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001713/0.3508, allocations: 81.41 kB / 1.041 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.3508, allocations: 19.42 kB / 1.041 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3508, allocations: 0 / 1.041 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of Templates: time 0.004436/0.3553, allocations: 1.746 MB / 1.043 GB, free: 376 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches