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.001242/0.001243, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.00153/0.00153, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.3 MB / 240 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.977/2.977, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004535, allocations: 12.14 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3954, allocations: 159.6 MB / 1.058 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002698/0.3982, allocations: 2.071 MB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.4002, allocations: 1.314 MB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.4003, allocations: 7.938 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.4004, allocations: 19.84 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.4008, allocations: 99.55 kB / 1.061 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.4012, allocations: 151.6 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.4014, allocations: 247.3 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004393/0.4019, allocations: 226 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.402, allocations: 75.69 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.4023, allocations: 91.7 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.4023, allocations: 4 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.4025, allocations: 111.8 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.4026, allocations: 59.81 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.4026, allocations: 53.64 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.4029, allocations: 211.7 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4029, allocations: 0 / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4029, allocations: 0 / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.4029, allocations: 0 / 1.063 GB, free: 0.6289 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.000598/0.4035, allocations: 444.6 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.4036, allocations: 12.03 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000478/0.404, allocations: 59.75 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.4043, allocations: 226.7 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.4043, allocations: 16.27 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.4044, allocations: 12 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/0.4048, allocations: 287.5 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.4048, allocations: 4 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.4049, allocations: 8 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.4049, allocations: 24.2 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.4052, allocations: 204.5 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.4068, allocations: 1.587 MB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.4071, allocations: 323.2 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.978e-05/0.4072, allocations: 61.69 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.4073, allocations: 4 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.4073, allocations: 34.56 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.4073, allocations: 3.938 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0005431/0.4079, allocations: 236.6 kB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.4079, allocations: 81.06 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.4081, allocations: 191.5 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.4081, allocations: 29.89 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4082, allocations: 167.7 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.4083, allocations: 35.48 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.4083, allocations: 4 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4084, allocations: 322.8 kB / 1.067 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.999e-05/0.4085, allocations: 67.95 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.4087, allocations: 156.6 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.4089, allocations: 87.91 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4089, allocations: 0 / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003601/0.4092, allocations: 261.4 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.4094, allocations: 171.3 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.4094, allocations: 7.953 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4094, allocations: 4 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.4096, allocations: 55.89 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.4096, allocations: 7.938 kB / 1.068 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.4098, allocations: 23.92 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.4098, allocations: 8 kB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.4098, allocations: 4 kB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002697/0.4101, allocations: 199.6 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/0.4101, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.4101, allocations: 8.375 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.4103, allocations: 51.91 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4103, allocations: 7.938 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.056e-05/0.4104, allocations: 8 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.4104, allocations: 8.469 kB / 1.068 GB, free: 10.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.4106, allocations: 229 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.4106, allocations: 15.81 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.4109, allocations: 139 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4109, allocations: 4 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.4109, allocations: 4 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4109, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008634/0.4118, allocations: 0.7273 MB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4118, allocations: 0 / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.63e-05/0.4119, allocations: 27.98 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4119, allocations: 4 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.4119, allocations: 7.953 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.4119, allocations: 7.938 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4119, allocations: 0 / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.4122, allocations: 382.6 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.27e-05/0.4123, allocations: 109 kB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.4124, allocations: 8 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.4125, allocations: 11.94 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.4125, allocations: 15.98 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.4126, allocations: 4 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001185/0.4127, allocations: 153.1 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.813e-06/0.4127, allocations: 0 / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004727/0.4132, allocations: 71.94 kB / 1.07 GB, free: 8.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001437/0.4133, allocations: 103.2 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003815/0.4137, allocations: 260.2 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.4137, allocations: 4 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.719e-05/0.4138, allocations: 59.84 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.4143, allocations: 42.2 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006923/0.415, allocations: 0.5014 MB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.4154, allocations: 0.7402 MB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002125/0.4156, allocations: 73.5 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.4157, allocations: 15.44 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4157, allocations: 4 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of Templates: time 0.005357/0.4211, allocations: 1.624 MB / 1.073 GB, free: 5.164 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/jenkins/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