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.001368/0.001368, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001529/0.001529, allocations: 215.8 kB / 22.99 MB, free: 4.945 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.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.347/3.347, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003418/0.003418, allocations: 67.62 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4255, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.005206/0.4307, allocations: 2.445 MB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003283/0.434, allocations: 1.547 MB / 1.369 GB, free: 9.562 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.4342, allocations: 7.938 kB / 1.369 GB, free: 9.555 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00084/0.435, allocations: 183.3 kB / 1.369 GB, free: 9.375 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005199/0.4355, allocations: 147.3 kB / 1.369 GB, free: 9.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.4361, allocations: 191.5 kB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.4365, allocations: 223.3 kB / 1.369 GB, free: 8.824 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003197/0.4368, allocations: 105 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.4371, allocations: 103.7 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.4374, allocations: 107.6 kB / 1.37 GB, free: 8.512 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.4374, allocations: 12 kB / 1.37 GB, free: 8.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004013/0.4378, allocations: 191.6 kB / 1.37 GB, free: 8.312 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.519e-05/0.4379, allocations: 67.8 kB / 1.37 GB, free: 8.246 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.438, allocations: 67.72 kB / 1.37 GB, free: 8.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.4386, allocations: 314.9 kB / 1.37 GB, free: 7.871 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4386, allocations: 3.938 kB / 1.37 GB, free: 7.867 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4386, allocations: 0 / 1.37 GB, free: 7.867 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.4386, allocations: 3.938 kB / 1.37 GB, free: 7.863 MB / 1.061 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.0009254/0.4395, allocations: 417.6 kB / 1.371 GB, free: 7.422 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.4395, allocations: 8.031 kB / 1.371 GB, free: 7.414 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008429/0.4404, allocations: 84.69 kB / 1.371 GB, free: 7.332 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.4407, allocations: 178.2 kB / 1.371 GB, free: 7.133 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.4407, allocations: 8.656 kB / 1.371 GB, free: 7.125 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.4408, allocations: 12.38 kB / 1.371 GB, free: 7.113 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005725/0.4413, allocations: 329.3 kB / 1.371 GB, free: 6.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.4414, allocations: 3.938 kB / 1.371 GB, free: 6.746 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.4414, allocations: 8 kB / 1.371 GB, free: 6.738 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.4414, allocations: 20.22 kB / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.4419, allocations: 220.4 kB / 1.371 GB, free: 6.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.4441, allocations: 1.295 MB / 1.373 GB, free: 5.145 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.4445, allocations: 157.1 kB / 1.373 GB, free: 4.973 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.4446, allocations: 61.8 kB / 1.373 GB, free: 4.906 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.4446, allocations: 7.938 kB / 1.373 GB, free: 4.898 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.4446, allocations: 34.56 kB / 1.373 GB, free: 4.855 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.4446, allocations: 0 / 1.373 GB, free: 4.855 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0006285/0.4453, allocations: 248.9 kB / 1.373 GB, free: 4.605 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/0.4454, allocations: 81.05 kB / 1.373 GB, free: 4.508 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.4457, allocations: 206.3 kB / 1.373 GB, free: 4.297 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.4458, allocations: 25.7 kB / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.4459, allocations: 160.1 kB / 1.374 GB, free: 4.105 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.4459, allocations: 39.62 kB / 1.374 GB, free: 4.066 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.472e-05/0.446, allocations: 57.64 kB / 1.374 GB, free: 4.004 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4462, allocations: 322.8 kB / 1.374 GB, free: 3.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.4464, allocations: 85 kB / 1.374 GB, free: 3.594 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.4466, allocations: 168.1 kB / 1.374 GB, free: 3.391 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.447, allocations: 246.9 kB / 1.374 GB, free: 3.109 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.447, allocations: 0 / 1.374 GB, free: 3.109 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005554/0.4476, allocations: 285.3 kB / 1.375 GB, free: 2.824 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4476, allocations: 8 kB / 1.375 GB, free: 2.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.4476, allocations: 0 / 1.375 GB, free: 2.816 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.4476, allocations: 7.984 kB / 1.375 GB, free: 2.809 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.4479, allocations: 63.89 kB / 1.375 GB, free: 2.746 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.4479, allocations: 7.938 kB / 1.375 GB, free: 2.738 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.4482, allocations: 24.19 kB / 1.375 GB, free: 2.715 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.4482, allocations: 12 kB / 1.375 GB, free: 2.703 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002568/0.4485, allocations: 176.1 kB / 1.375 GB, free: 2.527 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002221/0.4487, allocations: 161.2 kB / 1.375 GB, free: 2.332 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003512/0.449, allocations: 230.9 kB / 1.375 GB, free: 2.066 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.449, allocations: 0 / 1.375 GB, free: 2.066 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0005009/0.4495, allocations: 269.2 kB / 1.376 GB, free: 1.797 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.4496, allocations: 4 kB / 1.376 GB, free: 1.793 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4496, allocations: 4 kB / 1.376 GB, free: 1.789 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.201e-06/0.4496, allocations: 4 kB / 1.376 GB, free: 1.785 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.4498, allocations: 55.89 kB / 1.376 GB, free: 1.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.4498, allocations: 8.359 kB / 1.376 GB, free: 1.723 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.4501, allocations: 27.92 kB / 1.376 GB, free: 1.695 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.4501, allocations: 8 kB / 1.376 GB, free: 1.688 MB / 1.061 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.000246/0.4503, allocations: 196.1 kB / 1.376 GB, free: 1.488 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.4504, allocations: 15.91 kB / 1.376 GB, free: 1.473 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.4507, allocations: 147 kB / 1.376 GB, free: 1.316 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4507, allocations: 0 / 1.376 GB, free: 1.316 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4507, allocations: 3.938 kB / 1.376 GB, free: 1.312 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4507, allocations: 0 / 1.376 GB, free: 1.312 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.4517, allocations: 0.649 MB / 1.377 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4517, allocations: 0 / 1.377 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.4518, allocations: 27.92 kB / 1.377 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4518, allocations: 4 kB / 1.377 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.4518, allocations: 4 kB / 1.377 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.4518, allocations: 8.531 kB / 1.377 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4518, allocations: 352 / 1.377 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.4522, allocations: 390.2 kB / 1.377 GB, free: 132 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/0.4523, allocations: 23.94 kB / 1.377 GB, free: 108 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.4523, allocations: 7.984 kB / 1.377 GB, free: 100 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.4525, allocations: 8 kB / 1.377 GB, free: 92 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.4526, allocations: 19.86 kB / 1.377 GB, free: 72 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.4526, allocations: 8 kB / 1.377 GB, free: 64 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002204/0.4528, allocations: 156.8 kB / 1.377 GB, free: 15.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4528, allocations: 4 kB / 1.377 GB, free: 15.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005271/0.4533, allocations: 75.94 kB / 1.377 GB, free: 15.83 MB / 1.076 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.0001666/0.4535, allocations: 103.2 kB / 1.378 GB, free: 15.72 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005993/0.4541, allocations: 284.7 kB / 1.378 GB, free: 15.45 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4541, allocations: 0 / 1.378 GB, free: 15.45 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.4542, allocations: 63.83 kB / 1.378 GB, free: 15.38 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.4547, allocations: 37.16 kB / 1.378 GB, free: 15.35 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008368/0.4555, allocations: 465.4 kB / 1.378 GB, free: 14.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.4557, allocations: 123.8 kB / 1.378 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/0.4557, allocations: 15.44 kB / 1.378 GB, free: 14.68 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/0.4557, allocations: 0 / 1.378 GB, free: 14.68 MB / 1.076 GB Notification: Performance of Templates: time 0.005092/0.4608, allocations: 2.425 MB / 1.381 GB, free: 12.26 MB / 1.076 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/jenkins1/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: 12.138182948809117]