Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 114.6 kB / 16.81 MB, free: 5.777 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.001239/0.001239, allocations: 199.1 kB / 17.77 MB, free: 5.129 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.466/1.466, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.77/2.77, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 66.98 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3956, allocations: 168.7 MB / 1.262 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004927/0.4006, allocations: 2.657 MB / 1.265 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003007/0.4036, allocations: 1.589 MB / 1.266 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.4037, allocations: 7.938 kB / 1.266 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007954/0.4045, allocations: 179.3 kB / 1.266 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.4049, allocations: 155.3 kB / 1.267 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.4055, allocations: 183.5 kB / 1.267 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.4058, allocations: 215.3 kB / 1.267 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.4061, allocations: 97.05 kB / 1.267 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.4062, allocations: 91.67 kB / 1.267 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.4065, allocations: 111.6 kB / 1.267 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.4065, allocations: 12 kB / 1.267 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.407, allocations: 215.6 kB / 1.267 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.474e-05/0.4071, allocations: 67.81 kB / 1.267 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.4072, allocations: 87.59 kB / 1.268 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.4077, allocations: 302.9 kB / 1.268 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4077, allocations: 3.938 kB / 1.268 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4077, allocations: 0 / 1.268 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.4077, allocations: 0 / 1.268 GB, free: 6.957 MB / 0.9825 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.0008896/0.4086, allocations: 486.7 kB / 1.268 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4086, allocations: 8.031 kB / 1.268 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008269/0.4094, allocations: 88.73 kB / 1.268 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.4097, allocations: 240 kB / 1.269 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.4098, allocations: 16.66 kB / 1.269 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.4098, allocations: 16.36 kB / 1.269 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005248/0.4103, allocations: 296 kB / 1.269 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4104, allocations: 4 kB / 1.269 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.4104, allocations: 4 kB / 1.269 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.4104, allocations: 16.22 kB / 1.269 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004287/0.4109, allocations: 228.4 kB / 1.269 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.4128, allocations: 1.592 MB / 1.271 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.4132, allocations: 319.3 kB / 1.271 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.4133, allocations: 57.67 kB / 1.271 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.4133, allocations: 4 kB / 1.271 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.4134, allocations: 34.56 kB / 1.271 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.4134, allocations: 0 / 1.271 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.000627/0.414, allocations: 253.2 kB / 1.271 GB, free: 3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.4141, allocations: 81.3 kB / 1.271 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.4143, allocations: 211.3 kB / 1.272 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.4144, allocations: 29.7 kB / 1.272 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.4145, allocations: 159.9 kB / 1.272 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.4145, allocations: 31.73 kB / 1.272 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.633e-05/0.4146, allocations: 57.64 kB / 1.272 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4148, allocations: 322.8 kB / 1.272 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.4149, allocations: 80.81 kB / 1.272 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.4152, allocations: 165.5 kB / 1.272 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.4155, allocations: 238.8 kB / 1.273 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4155, allocations: 0 / 1.273 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005189/0.416, allocations: 269.2 kB / 1.273 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.416, allocations: 4 kB / 1.273 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.4161, allocations: 4 kB / 1.273 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.4161, allocations: 4.375 kB / 1.273 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.4163, allocations: 63.83 kB / 1.273 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.4164, allocations: 7.938 kB / 1.273 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.4166, allocations: 23.97 kB / 1.273 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.4166, allocations: 12 kB / 1.273 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002306/0.4169, allocations: 166.3 kB / 1.273 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002166/0.4171, allocations: 163.8 kB / 1.273 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002964/0.4174, allocations: 215.8 kB / 1.274 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.4174, allocations: 4 kB / 1.274 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000459/0.4178, allocations: 253.3 kB / 1.274 GB, free: 256 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.4178, allocations: 8 kB / 1.274 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.4178, allocations: 0 / 1.274 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.4178, allocations: 11.98 kB / 1.274 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.4181, allocations: 47.91 kB / 1.274 GB, free: 188 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4181, allocations: 7.938 kB / 1.274 GB, free: 180 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.4183, allocations: 24.23 kB / 1.274 GB, free: 156 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.4183, allocations: 8 kB / 1.274 GB, free: 148 kB / 0.9825 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.0001553/0.4184, allocations: 200.9 kB / 1.274 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.4185, allocations: 19.89 kB / 1.274 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.4188, allocations: 147 kB / 1.274 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4188, allocations: 3.938 kB / 1.274 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4188, allocations: 0 / 1.274 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.956e-05/0.4189, allocations: 105.1 kB / 1.274 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.4189, allocations: 12 kB / 1.274 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.4191, allocations: 15.97 kB / 1.274 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.4192, allocations: 8 kB / 1.274 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003209/0.4195, allocations: 300.1 kB / 1.275 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003317/0.4198, allocations: 385.9 kB / 1.275 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.348e-05/0.4199, allocations: 59.89 kB / 1.275 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001907/0.4201, allocations: 157.1 kB / 1.275 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of Backend: time 4.2e-07/0.4201, allocations: 0 / 1.275 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.4213, allocations: 391.5 kB / 1.276 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of SimCode: time 0.000964/0.4222, allocations: 0.7707 MB / 1.276 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of Templates: time 0.008622/0.4309, allocations: 4.082 MB / 1.28 GB, free: 9.434 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches