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.001133/0.001134, allocations: 100.1 kB / 15.88 MB, free: 12 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.001199/0.0012, allocations: 200.8 kB / 16.79 MB, free: 6.809 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.446/1.446, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.814/2.814, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.92 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.325, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003775/0.3288, allocations: 2.487 MB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.3313, allocations: 1.593 MB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.3314, allocations: 0 / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006486/0.3321, allocations: 159.5 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.3325, allocations: 139.5 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.3329, allocations: 163.7 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.3332, allocations: 319.1 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003025/0.3335, allocations: 129 kB / 1.058 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.3337, allocations: 75.7 kB / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.3339, allocations: 103.6 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.334, allocations: 12 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.3343, allocations: 247.5 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.277e-05/0.3344, allocations: 55.88 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.796e-05/0.3345, allocations: 79.53 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.3348, allocations: 231.8 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3349, allocations: 0 / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3349, allocations: 4 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.3349, allocations: 0 / 1.058 GB, free: 2.547 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.0007126/0.3356, allocations: 492.7 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3356, allocations: 11.97 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008029/0.3365, allocations: 80.64 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.3367, allocations: 224.1 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3367, allocations: 16.59 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.3368, allocations: 20.36 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.3373, allocations: 287.6 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3373, allocations: 0 / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.3373, allocations: 8 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/0.3374, allocations: 20.22 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000421/0.3378, allocations: 228.4 kB / 1.06 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.3396, allocations: 1.599 MB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.34, allocations: 323.3 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.511e-05/0.3401, allocations: 61.67 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.3401, allocations: 8.141 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.3402, allocations: 38.56 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.3402, allocations: 3.938 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0006014/0.3408, allocations: 240.5 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.3408, allocations: 89.23 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.3411, allocations: 207.4 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.3411, allocations: 25.7 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.3412, allocations: 151.7 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.3413, allocations: 39.53 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/0.3414, allocations: 53.59 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3415, allocations: 326.8 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.3417, allocations: 80.75 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.3419, allocations: 161.1 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.3422, allocations: 230.9 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3422, allocations: 4 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000484/0.3427, allocations: 273 kB / 1.063 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3427, allocations: 8 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3427, allocations: 4 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3428, allocations: 8.312 kB / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.3431, allocations: 63.89 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.3431, allocations: 4 kB / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.3433, allocations: 23.91 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.3434, allocations: 15.94 kB / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002078/0.3436, allocations: 172 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000184/0.3438, allocations: 148 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002777/0.3441, allocations: 219.8 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.3441, allocations: 0 / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000426/0.3445, allocations: 249.3 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.156e-06/0.3445, allocations: 4 kB / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3445, allocations: 4 kB / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-06/0.3445, allocations: 7.984 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.3447, allocations: 51.91 kB / 1.064 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3448, allocations: 7.938 kB / 1.064 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.345, allocations: 32.08 kB / 1.064 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.345, allocations: 12 kB / 1.064 GB, free: 11.74 MB / 0.8262 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.0001139/0.3451, allocations: 188.9 kB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.3452, allocations: 11.89 kB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.3454, allocations: 151.3 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.3455, allocations: 7.938 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3455, allocations: 0 / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3455, allocations: 0 / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009224/0.3464, allocations: 0.7238 MB / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3464, allocations: 4 kB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.3465, allocations: 28.05 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3465, allocations: 7.938 kB / 1.066 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.3466, allocations: 8 kB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3466, allocations: 7.984 kB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.3466, allocations: 7.938 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.3469, allocations: 374.3 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.567e-05/0.347, allocations: 104.9 kB / 1.066 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.347, allocations: 15.92 kB / 1.066 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.3473, allocations: 11.98 kB / 1.066 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.3473, allocations: 7.938 kB / 1.066 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.3473, allocations: 12 kB / 1.066 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001666/0.3475, allocations: 161.1 kB / 1.066 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3475, allocations: 0 / 1.066 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005355/0.348, allocations: 68 kB / 1.066 GB, free: 9.703 MB / 0.8262 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.0001438/0.3482, allocations: 107.1 kB / 1.066 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005152/0.3487, allocations: 280 kB / 1.067 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3487, allocations: 0 / 1.067 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.3488, allocations: 57.28 kB / 1.067 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.3493, allocations: 43.84 kB / 1.067 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/0.3501, allocations: 0.5086 MB / 1.067 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.3504, allocations: 0.7363 MB / 1.068 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.658e-05/0.3505, allocations: 19.44 kB / 1.068 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3505, allocations: 0 / 1.068 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of Templates: time 0.004294/0.3548, allocations: 2.312 MB / 1.07 GB, free: 5.555 MB / 0.8262 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 -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