Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001015/0.001015, allocations: 98.88 kB / 16.02 MB, free: 76 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.001206/0.001206, allocations: 181.8 kB / 16.92 MB, free: 6.914 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.4/1.4, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.71/2.71, allocations: 437.8 MB / 0.7128 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 12 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6739/0.6743, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003405/0.6778, allocations: 2.135 MB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0029/0.6807, allocations: 1.559 MB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.6809, allocations: 4 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.6811, allocations: 23.8 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005616/0.6817, allocations: 139.5 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005952/0.6823, allocations: 167.7 kB / 1.028 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.6828, allocations: 315.1 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005618/0.6833, allocations: 242 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.6836, allocations: 75.7 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.6839, allocations: 99.62 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.6839, allocations: 4 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.6844, allocations: 243.6 kB / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.357e-05/0.6845, allocations: 71.73 kB / 1.029 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.6846, allocations: 93.31 kB / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.685, allocations: 225.4 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.443e-06/0.6851, allocations: 0 / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6851, allocations: 3.938 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.6851, allocations: 7.938 kB / 1.029 GB, free: 10.44 MB / 0.7794 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.0008107/0.6859, allocations: 447.2 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.686, allocations: 12.03 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000927/0.6869, allocations: 84.64 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.6872, allocations: 224.1 kB / 1.03 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.6873, allocations: 12.64 kB / 1.03 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.6873, allocations: 16.38 kB / 1.03 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/0.6879, allocations: 287.6 kB / 1.03 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.6879, allocations: 3.938 kB / 1.03 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.688, allocations: 15.98 kB / 1.03 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-05/0.688, allocations: 16.22 kB / 1.03 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.6885, allocations: 224.4 kB / 1.03 GB, free: 9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.6904, allocations: 1.603 MB / 1.032 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.6908, allocations: 323.3 kB / 1.032 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/0.6909, allocations: 65.67 kB / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.6909, allocations: 3.984 kB / 1.032 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.691, allocations: 42.5 kB / 1.032 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.691, allocations: 0 / 1.032 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0005952/0.6916, allocations: 240.5 kB / 1.032 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.6916, allocations: 81.3 kB / 1.033 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.6919, allocations: 207.4 kB / 1.033 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.6919, allocations: 29.7 kB / 1.033 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.692, allocations: 159.8 kB / 1.033 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.6921, allocations: 31.55 kB / 1.033 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.6921, allocations: 29.7 kB / 1.033 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.6923, allocations: 322.8 kB / 1.033 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.6924, allocations: 75.95 kB / 1.033 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.6927, allocations: 156.4 kB / 1.033 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.693, allocations: 238.9 kB / 1.034 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.693, allocations: 4 kB / 1.034 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005304/0.6936, allocations: 273.1 kB / 1.034 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.6937, allocations: 179.6 kB / 1.034 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.6937, allocations: 4 kB / 1.034 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.6938, allocations: 4 kB / 1.034 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.694, allocations: 51.91 kB / 1.034 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.6941, allocations: 11.94 kB / 1.034 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.6943, allocations: 19.97 kB / 1.034 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.6944, allocations: 12 kB / 1.034 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.6944, allocations: 4 kB / 1.034 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004142/0.6948, allocations: 207.6 kB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.6948, allocations: 4 kB / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-06/0.6948, allocations: 7.938 kB / 1.034 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.695, allocations: 52.28 kB / 1.035 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.6951, allocations: 11.94 kB / 1.035 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.6953, allocations: 27.77 kB / 1.035 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.6953, allocations: 12 kB / 1.035 GB, free: 4.168 MB / 0.7794 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.0001682/0.6955, allocations: 217.6 kB / 1.035 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.6955, allocations: 11.91 kB / 1.035 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.6958, allocations: 143.4 kB / 1.035 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.6958, allocations: 4 kB / 1.035 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.6958, allocations: 7.938 kB / 1.035 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.6959, allocations: 3.984 kB / 1.035 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.6969, allocations: 0.7196 MB / 1.036 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.6969, allocations: 0 / 1.036 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.697, allocations: 31.91 kB / 1.036 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.697, allocations: 4 kB / 1.036 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.697, allocations: 4 kB / 1.036 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.6971, allocations: 4 kB / 1.036 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.6971, allocations: 4.016 kB / 1.036 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.6974, allocations: 386.5 kB / 1.036 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-05/0.6975, allocations: 109 kB / 1.036 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.6976, allocations: 8 kB / 1.036 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.6978, allocations: 15.98 kB / 1.036 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.6978, allocations: 11.92 kB / 1.036 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.6978, allocations: 12 kB / 1.036 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001817/0.698, allocations: 156.9 kB / 1.036 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.698, allocations: 0 / 1.036 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005643/0.6986, allocations: 68 kB / 1.036 GB, free: 2.113 MB / 0.7794 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.0001604/0.6988, allocations: 109.3 kB / 1.037 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005292/0.6993, allocations: 275.7 kB / 1.037 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6993, allocations: 0 / 1.037 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.189e-05/0.6994, allocations: 61.7 kB / 1.037 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.7, allocations: 43.53 kB / 1.037 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009291/0.7009, allocations: 0.5164 MB / 1.037 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.7013, allocations: 0.7363 MB / 1.038 GB, free: 296 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.7014, allocations: 23.42 kB / 1.038 GB, free: 272 kB / 0.7794 GB Notification: Performance of SimCode: time 6.11e-07/0.7014, allocations: 0 / 1.038 GB, free: 272 kB / 0.7794 GB Notification: Performance of Templates: time 0.006052/0.7075, allocations: 2.29 MB / 1.04 GB, free: 13.97 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches