Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.006931/0.006931, allocations: 97 kB / 15.73 MB, free: 6.484 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.0013/0.0013, allocations: 192 kB / 16.67 MB, free: 6.391 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.832/2.832, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.89 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3266, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003453/0.3301, allocations: 2.442 MB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.3324, allocations: 1.574 MB / 1.225 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.978e-05/0.3325, allocations: 4 kB / 1.225 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006708/0.3332, allocations: 171.3 kB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.3336, allocations: 163.3 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.334, allocations: 183.4 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.3343, allocations: 215.3 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.3345, allocations: 101 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.3347, allocations: 91.67 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.3349, allocations: 99.64 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.3349, allocations: 12 kB / 1.226 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.3353, allocations: 215.6 kB / 1.226 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.3353, allocations: 63.81 kB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.061e-05/0.3354, allocations: 75.59 kB / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.3358, allocations: 314.8 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3358, allocations: 4 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.133e-06/0.3358, allocations: 0 / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3358, allocations: 0 / 1.226 GB, free: 8.117 MB / 0.9825 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.0006799/0.3365, allocations: 486.6 kB / 1.227 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3365, allocations: 12.03 kB / 1.227 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007259/0.3373, allocations: 80.73 kB / 1.227 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.3376, allocations: 236.1 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3376, allocations: 8.656 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.3376, allocations: 16.38 kB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/0.3381, allocations: 295.5 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3381, allocations: 7.938 kB / 1.227 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.3382, allocations: 4 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/0.3382, allocations: 20.22 kB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/0.3386, allocations: 224.4 kB / 1.227 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.3403, allocations: 1.603 MB / 1.229 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.3407, allocations: 311.3 kB / 1.229 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.928e-05/0.3407, allocations: 69.66 kB / 1.229 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.3408, allocations: 3.938 kB / 1.229 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3408, allocations: 34.56 kB / 1.229 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.3408, allocations: 0 / 1.229 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005604/0.3414, allocations: 249.5 kB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.3414, allocations: 77.11 kB / 1.23 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.3416, allocations: 211.6 kB / 1.23 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.3417, allocations: 29.64 kB / 1.23 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.98e-05/0.3418, allocations: 160 kB / 1.23 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.3418, allocations: 31.73 kB / 1.23 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3419, allocations: 53.64 kB / 1.23 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.342, allocations: 326.8 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.3422, allocations: 76.81 kB / 1.231 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.3424, allocations: 160.6 kB / 1.231 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.3427, allocations: 242.9 kB / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3427, allocations: 0 / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000489/0.3432, allocations: 269.2 kB / 1.231 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3432, allocations: 4 kB / 1.231 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3432, allocations: 11.92 kB / 1.231 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3433, allocations: 7.938 kB / 1.231 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.3435, allocations: 55.91 kB / 1.231 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.3435, allocations: 8.438 kB / 1.231 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.3438, allocations: 31.91 kB / 1.231 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.3438, allocations: 8 kB / 1.231 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002083/0.344, allocations: 172 kB / 1.232 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001974/0.3442, allocations: 157 kB / 1.232 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002839/0.3445, allocations: 215.8 kB / 1.232 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/0.3445, allocations: 4 kB / 1.232 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004373/0.3449, allocations: 249.4 kB / 1.232 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.345, allocations: 15.92 kB / 1.232 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.345, allocations: 0 / 1.232 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.991e-06/0.345, allocations: 8 kB / 1.232 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.3452, allocations: 51.91 kB / 1.232 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3452, allocations: 7.938 kB / 1.232 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.3454, allocations: 15.98 kB / 1.232 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.3454, allocations: 12.16 kB / 1.232 GB, free: 1.305 MB / 0.9825 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.000132/0.3455, allocations: 196.7 kB / 1.232 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.969e-05/0.3456, allocations: 15.91 kB / 1.232 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.3459, allocations: 147 kB / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3459, allocations: 3.938 kB / 1.233 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3459, allocations: 0 / 1.233 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3459, allocations: 0 / 1.233 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000939/0.3468, allocations: 0.7235 MB / 1.233 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3468, allocations: 4 kB / 1.233 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.3469, allocations: 24.33 kB / 1.233 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3469, allocations: 4 kB / 1.233 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.3469, allocations: 15.92 kB / 1.233 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.347, allocations: 4.125 kB / 1.233 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.347, allocations: 8 kB / 1.233 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.3473, allocations: 382.3 kB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.3474, allocations: 109 kB / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.3475, allocations: 8 kB / 1.234 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.3477, allocations: 11.98 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.3477, allocations: 19.88 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.3477, allocations: 4 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001703/0.3479, allocations: 157.1 kB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3479, allocations: 0 / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004814/0.3484, allocations: 72 kB / 1.234 GB, free: 15.25 MB / 0.9981 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.0001506/0.3485, allocations: 115.2 kB / 1.234 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004776/0.349, allocations: 260.7 kB / 1.234 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.349, allocations: 4 kB / 1.234 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.861e-05/0.3491, allocations: 55.83 kB / 1.234 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.3496, allocations: 35.38 kB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006764/0.3502, allocations: 431.2 kB / 1.235 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.3506, allocations: 0.7402 MB / 1.236 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000195/0.3508, allocations: 81.44 kB / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.3508, allocations: 23.42 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.3508, allocations: 0 / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of Templates: time 0.004683/0.3555, allocations: 1.925 MB / 1.238 GB, free: 11.53 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches