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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002679/0.002679, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.003/3.003, allocations: 389 MB / 0.633 GB, free: 1.031 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 1 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.444e-05, allocations: 6.219 kB / 1 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003802/0.003826, allocations: 2.42 MB / 1.002 GB, free: 3.805 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002673/0.006499, allocations: 1.539 MB / 1.004 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.006585, allocations: 7.938 kB / 1.004 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000693/0.007278, allocations: 170.3 kB / 1.004 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.007659, allocations: 155.2 kB / 1.004 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.00811, allocations: 195.2 kB / 1.004 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.008434, allocations: 235.2 kB / 1.005 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.008673, allocations: 97.09 kB / 1.005 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.008913, allocations: 127.7 kB / 1.005 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.00915, allocations: 99.73 kB / 1.005 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.009182, allocations: 12 kB / 1.005 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.00951, allocations: 199.5 kB / 1.005 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.082e-05/0.009601, allocations: 67.81 kB / 1.005 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.258e-05/0.009683, allocations: 59.83 kB / 1.005 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004564/0.01014, allocations: 339 kB / 1.006 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01014, allocations: 0 / 1.006 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.81e-07/0.01014, allocations: 0 / 1.006 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.01015, allocations: 0 / 1.006 GB, free: 0.5273 MB / 0.9044 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.000715/0.01087, allocations: 413.6 kB / 1.006 GB, free: 92 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.0109, allocations: 11.97 kB / 1.006 GB, free: 80 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007598/0.01166, allocations: 81.3 kB / 1.006 GB, free: 0 / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.01197, allocations: 184.1 kB / 1.006 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.01198, allocations: 8.656 kB / 1.006 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.01203, allocations: 12.38 kB / 1.006 GB, free: 15.78 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005456/0.01257, allocations: 321.9 kB / 1.007 GB, free: 15.42 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.01259, allocations: 7.5 kB / 1.007 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.01262, allocations: 11.98 kB / 1.007 GB, free: 15.4 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/0.01266, allocations: 20.22 kB / 1.007 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.01314, allocations: 225.4 kB / 1.007 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.01501, allocations: 1.299 MB / 1.008 GB, free: 13.8 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.01536, allocations: 153.1 kB / 1.008 GB, free: 13.63 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.01547, allocations: 61.62 kB / 1.008 GB, free: 13.57 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.01549, allocations: 8 kB / 1.008 GB, free: 13.56 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.01551, allocations: 34.55 kB / 1.008 GB, free: 13.52 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.01551, allocations: 0 / 1.008 GB, free: 13.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.000578/0.01609, allocations: 241 kB / 1.009 GB, free: 13.27 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.01614, allocations: 77.11 kB / 1.009 GB, free: 13.18 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.01641, allocations: 214.8 kB / 1.009 GB, free: 12.96 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.01643, allocations: 25.7 kB / 1.009 GB, free: 12.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.01654, allocations: 164.1 kB / 1.009 GB, free: 12.77 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.01657, allocations: 35.83 kB / 1.009 GB, free: 12.73 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/0.01667, allocations: 61.64 kB / 1.009 GB, free: 12.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.01684, allocations: 322.8 kB / 1.01 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.01703, allocations: 84.92 kB / 1.01 GB, free: 12.25 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.01728, allocations: 175 kB / 1.01 GB, free: 12.04 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.01766, allocations: 250.9 kB / 1.01 GB, free: 11.76 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01766, allocations: 0 / 1.01 GB, free: 11.76 MB / 0.92 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005606/0.01822, allocations: 285.2 kB / 1.01 GB, free: 11.47 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.01824, allocations: 4 kB / 1.01 GB, free: 11.47 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.01825, allocations: 4 kB / 1.01 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.01826, allocations: 4 kB / 1.01 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.01855, allocations: 68.2 kB / 1.01 GB, free: 11.39 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.01856, allocations: 11.94 kB / 1.01 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.01883, allocations: 27.91 kB / 1.01 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.01885, allocations: 8 kB / 1.01 GB, free: 11.35 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002438/0.0191, allocations: 180 kB / 1.011 GB, free: 11.17 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002203/0.01932, allocations: 155.1 kB / 1.011 GB, free: 10.98 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003332/0.01965, allocations: 226.9 kB / 1.011 GB, free: 10.71 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.01965, allocations: 0 / 1.011 GB, free: 10.71 MB / 0.92 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004945/0.02015, allocations: 257.2 kB / 1.011 GB, free: 10.46 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.02016, allocations: 14.17 kB / 1.011 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.02016, allocations: 4 kB / 1.011 GB, free: 10.44 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.189e-06/0.02017, allocations: 8.312 kB / 1.011 GB, free: 10.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.02043, allocations: 59.94 kB / 1.011 GB, free: 10.38 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.02044, allocations: 4 kB / 1.011 GB, free: 10.37 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.02071, allocations: 31.84 kB / 1.011 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.02072, allocations: 8.469 kB / 1.011 GB, free: 10.33 MB / 0.92 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.0001211/0.02085, allocations: 196.1 kB / 1.011 GB, free: 10.13 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.02091, allocations: 19.91 kB / 1.011 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.02117, allocations: 147 kB / 1.012 GB, free: 9.969 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.02117, allocations: 4 kB / 1.012 GB, free: 9.965 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.02117, allocations: 0 / 1.012 GB, free: 9.965 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.02118, allocations: 3.938 kB / 1.012 GB, free: 9.961 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009546/0.02213, allocations: 0.649 MB / 1.012 GB, free: 9.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.02214, allocations: 0 / 1.012 GB, free: 9.246 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.02225, allocations: 31.91 kB / 1.012 GB, free: 9.215 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.02226, allocations: 8.344 kB / 1.012 GB, free: 9.207 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.02227, allocations: 4 kB / 1.012 GB, free: 9.203 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.02228, allocations: 4 kB / 1.012 GB, free: 9.199 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.02228, allocations: 0 / 1.012 GB, free: 9.199 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.02262, allocations: 374.2 kB / 1.013 GB, free: 8.789 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.02269, allocations: 23.94 kB / 1.013 GB, free: 8.766 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.02273, allocations: 15.98 kB / 1.013 GB, free: 8.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.02294, allocations: 11.98 kB / 1.013 GB, free: 8.738 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.02298, allocations: 19.86 kB / 1.013 GB, free: 8.719 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.02299, allocations: 12 kB / 1.013 GB, free: 8.707 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00018/0.02317, allocations: 144.3 kB / 1.013 GB, free: 8.566 MB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.02317, allocations: 0 / 1.013 GB, free: 8.566 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000521/0.02369, allocations: 72 kB / 1.013 GB, free: 8.496 MB / 0.92 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.0001618/0.02386, allocations: 107.1 kB / 1.013 GB, free: 8.379 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005924/0.02445, allocations: 284.5 kB / 1.013 GB, free: 8.102 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.02445, allocations: 0 / 1.013 GB, free: 8.102 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.813e-05/0.02454, allocations: 57.09 kB / 1.013 GB, free: 8.047 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.02501, allocations: 32.48 kB / 1.013 GB, free: 8.016 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006888/0.0257, allocations: 410.8 kB / 1.014 GB, free: 7.559 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.02583, allocations: 123.9 kB / 1.014 GB, free: 7.418 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.02605, allocations: 73.41 kB / 1.014 GB, free: 7.348 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.02611, allocations: 16.5 kB / 1.014 GB, free: 7.332 MB / 0.92 GB Notification: Performance of SimCode: time 3.2e-07/0.02611, allocations: 4 kB / 1.014 GB, free: 7.328 MB / 0.92 GB Notification: Performance of Templates: time 0.005505/0.03161, allocations: 2.035 MB / 1.016 GB, free: 5.324 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.124086532741785]